Class MdcDestinations

java.lang.Object
io.aeron.driver.status.MdcDestinations

public class MdcDestinations extends Object
The number of destinations represented as a counter value.
  • Field Details

    • MDC_DESTINATIONS_COUNTER_TYPE_ID

      public static final int MDC_DESTINATIONS_COUNTER_TYPE_ID
      Type id of number of destinations counter.
      See Also:
    • NAME

      public static final String 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.