Class FlowControlReceivers

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

public class FlowControlReceivers extends Object
The number of active receivers represented as a counter value.
  • Field Details

    • FLOW_CONTROL_RECEIVERS_COUNTER_TYPE_ID

      public static final int FLOW_CONTROL_RECEIVERS_COUNTER_TYPE_ID
      Type id of number of receivers counter.
      See Also:
    • NAME

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