Class StatusUtil

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

public class StatusUtil extends Object
Functions for working with status counters.
  • Constructor Details

    • StatusUtil

      public StatusUtil()
  • Method Details

    • controllableIdleStrategy

      public static StatusIndicator controllableIdleStrategy(CountersReader countersReader)
      Return the controllable idle strategy StatusIndicator.
      Parameters:
      countersReader - that holds the status indicator.
      Returns:
      status indicator to use or null if not found.
    • sendChannelStatus

      public static StatusIndicatorReader sendChannelStatus(CountersReader countersReader, String channel)
      Return the read-only status indicator for the given send channel URI.
      Parameters:
      countersReader - that holds the status indicator.
      channel - for the send channel.
      Returns:
      read-only status indicator that can be used to query the status of the send channel or null.
      See Also:
    • receiveChannelStatus

      public static StatusIndicatorReader receiveChannelStatus(CountersReader countersReader, String channel)
      Return the read-only status indicator for the given receive channel URI.
      Parameters:
      countersReader - that holds the status indicator.
      channel - for the receiving endpoint
      Returns:
      read-only status indicator that can be used to query the status of the receive channel endpoint or null.
      See Also: