Package io.aeron.driver.status
Class SendChannelStatus
java.lang.Object
io.aeron.driver.status.SendChannelStatus
The status of a sending 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 sending 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
-
SEND_CHANNEL_STATUS_TYPE_ID
public static final int SEND_CHANNEL_STATUS_TYPE_IDType id of a sending channel status indicator.- See Also:
-
NAME
Human-readable name for the counter.- See Also:
-
-
Constructor Details
-
SendChannelStatus
public SendChannelStatus()
-
-
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.
-