Package io.aeron.driver.status
Class StatusUtil
java.lang.Object
io.aeron.driver.status.StatusUtil
Functions for working with status counters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusIndicatorcontrollableIdleStrategy(CountersReader countersReader) Return the controllable idle strategyStatusIndicator.static StatusIndicatorReaderreceiveChannelStatus(CountersReader countersReader, String channel) Return the read-only status indicator for the given receive channel URI.static StatusIndicatorReadersendChannelStatus(CountersReader countersReader, String channel) Return the read-only status indicator for the given send channel URI.
-
Constructor Details
-
StatusUtil
public StatusUtil()
-
-
Method Details
-
controllableIdleStrategy
Return the controllable idle strategyStatusIndicator.- 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:
-