Package io.aeron.driver.status
Class FlowControlReceivers
java.lang.Object
io.aeron.driver.status.FlowControlReceivers
The number of active receivers represented as a counter value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intType id of number of receivers counter.static final StringHuman-readable name for the counter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomicCounterallocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, int sessionId, int streamId, String channel) Allocate a new flow control receivers counter for a stream.
-
Field Details
-
FLOW_CONTROL_RECEIVERS_COUNTER_TYPE_ID
public static final int FLOW_CONTROL_RECEIVERS_COUNTER_TYPE_IDType id of number of receivers counter.- See Also:
-
NAME
Human-readable name for the counter.- See Also:
-
-
Constructor Details
-
FlowControlReceivers
public FlowControlReceivers()
-
-
Method Details
-
allocate
public static AtomicCounter allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, int sessionId, int streamId, String channel) Allocate a new flow control receivers counter for a stream.- Parameters:
tempBuffer- to build the label.countersManager- to allocate the counter from.registrationId- associated with the counter.sessionId- associated with the counter.streamId- associated with the counter.channel- associated with the counter.- Returns:
- the allocated counter.
-