public class AeronClient extends java.lang.Object implements DriverManagedResource
| Constructor and Description | 
|---|
| AeronClient(long clientId,
           long clientLivenessTimeoutNs,
           long nowMs,
           org.agrona.concurrent.status.AtomicCounter clientTimeouts,
           org.agrona.concurrent.status.AtomicCounter heartbeatStatus) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | clientId() | 
| void | close()Close resources that are not external. | 
| boolean | hasReachedEndOfLife()Has resource reached end of its life and should be reclaimed? | 
| boolean | hasTimedOut() | 
| void | onTimeEvent(long timeNs,
           long timeMs,
           DriverConductor conductor)Inform resource of timeNs passing and pass it DriverConductor to inform of any state transitions. | 
| void | timeOfLastKeepaliveMs(long nowMs) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfreepublic AeronClient(long clientId,
                   long clientLivenessTimeoutNs,
                   long nowMs,
                   org.agrona.concurrent.status.AtomicCounter clientTimeouts,
                   org.agrona.concurrent.status.AtomicCounter heartbeatStatus)
public void close()
DriverManagedResourceclose in interface DriverManagedResourcepublic long clientId()
public void timeOfLastKeepaliveMs(long nowMs)
public boolean hasTimedOut()
public void onTimeEvent(long timeNs,
                        long timeMs,
                        DriverConductor conductor)
DriverManagedResourceonTimeEvent in interface DriverManagedResourcetimeNs - now in nanosecondstimeMs - now in milliseconds for epochconductor - to inform of any state transitionspublic boolean hasReachedEndOfLife()
DriverManagedResourcehasReachedEndOfLife in interface DriverManagedResourceCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.