Package io.aeron.driver.status
Class ClientHeartbeatTimestamp
java.lang.Object
io.aeron.status.HeartbeatTimestamp
io.aeron.driver.status.ClientHeartbeatTimestamp
Counter for tracking the timestamp of a last heartbeat from an Aeron client.
- See Also:
-
Field Summary
FieldsFields inherited from class io.aeron.status.HeartbeatTimestamp
HEARTBEAT_TYPE_ID, REGISTRATION_ID_OFFSET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomicCounterallocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId) Allocate a new counter by delegating toHeartbeatTimestamp.allocate(MutableDirectBuffer, String, int, CountersManager, long).Methods inherited from class io.aeron.status.HeartbeatTimestamp
allocate, allocateCounterId, findCounterIdByRegistrationId, isActive
-
Field Details
-
NAME
Human-readable name for the counter.- See Also:
-
-
Constructor Details
-
ClientHeartbeatTimestamp
public ClientHeartbeatTimestamp()
-
-
Method Details
-
allocate
public static AtomicCounter allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId) Allocate a new counter by delegating toHeartbeatTimestamp.allocate(MutableDirectBuffer, String, int, CountersManager, long).- Parameters:
tempBuffer- for writing the metadata.countersManager- for the counter.registrationId- for the client.- Returns:
- the allocated counter.
-