Package io.aeron.driver.status
Class SenderNaksReceived
java.lang.Object
io.aeron.driver.status.SenderNaksReceived
Count the number of NAK messages received by the Sender. This is a per-stream event count for
that which is aggregated in
SystemCounterDescriptor.NAK_MESSAGES_RECEIVED.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomicCounterallocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long clientId, long registrationId, int sessionId, int streamId, String channel) Allocate a new sender back-pressure counter for a stream.
-
Field Details
-
TYPE_ID
public static final int TYPE_IDType id of a counter.- See Also:
-
NAME
Human-readable name for the counter.- See Also:
-
-
Constructor Details
-
SenderNaksReceived
public SenderNaksReceived()
-
-
Method Details
-
allocate
public static AtomicCounter allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long clientId, long registrationId, int sessionId, int streamId, String channel) Allocate a new sender back-pressure counter for a stream.- Parameters:
tempBuffer- to build the label.countersManager- to allocate the counter from.clientId- to set as counter owner.registrationId- associated with the counter.sessionId- associated with the counter.streamId- associated with the counter.channel- associated with the counter.- Returns:
- the allocated counter.
-