public interface DriverManagedResource
extends org.agrona.ManagedResource
| Modifier and Type | Method and Description |
|---|---|
default int |
decRef()
Decrement reference count to this resource.
|
boolean |
hasReachedEndOfLife()
Has resource reached end of its life and should be reclaimed?
|
default int |
incRef()
Increment reference count to this resource.
|
void |
onTimeEvent(long timeNs,
long timeMs,
DriverConductor conductor)
Inform resource of timeNs passing and pass it DriverConductor to inform of any state transitions.
|
void onTimeEvent(long timeNs,
long timeMs,
DriverConductor conductor)
timeNs - now in nanosecondstimeMs - now in milliseconds for epochconductor - to inform of any state transitionsboolean hasReachedEndOfLife()
default int incRef()
default int decRef()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.