Package io.aeron.driver.status
Class MdcDestinations
java.lang.Object
io.aeron.driver.status.MdcDestinations
The number of destinations represented as a counter value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intType id of number of destinations counter.static final StringHuman-readable name for the counter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomicCounterallocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, String channel) Allocate a new MDC destinations counter for an endpoint.
-
Field Details
-
MDC_DESTINATIONS_COUNTER_TYPE_ID
public static final int MDC_DESTINATIONS_COUNTER_TYPE_IDType id of number of destinations counter.- See Also:
-
NAME
Human-readable name for the counter.- See Also:
-
-
Constructor Details
-
MdcDestinations
public MdcDestinations()
-
-
Method Details
-
allocate
public static AtomicCounter allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, String channel) Allocate a new MDC destinations counter for an endpoint.- 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.
-