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