public class StatusUtil
extends java.lang.Object
Constructor and Description |
---|
StatusUtil() |
Modifier and Type | Method and Description |
---|---|
static org.agrona.concurrent.status.StatusIndicator |
controllableIdleStrategy(org.agrona.concurrent.status.CountersReader countersReader)
Return the controllable idle strategy
StatusIndicator . |
static org.agrona.concurrent.status.StatusIndicatorReader |
receiveChannelStatus(org.agrona.concurrent.status.CountersReader countersReader,
java.lang.String channel)
Return the read-only status indicator for the given receive channel URI.
|
static org.agrona.concurrent.status.StatusIndicatorReader |
sendChannelStatus(org.agrona.concurrent.status.CountersReader countersReader,
java.lang.String channel)
Return the read-only status indicator for the given send channel URI.
|
public static org.agrona.concurrent.status.StatusIndicator controllableIdleStrategy(org.agrona.concurrent.status.CountersReader countersReader)
StatusIndicator
.countersReader
- that holds the status indicator.public static org.agrona.concurrent.status.StatusIndicatorReader sendChannelStatus(org.agrona.concurrent.status.CountersReader countersReader, java.lang.String channel)
countersReader
- that holds the status indicator.channel
- for the send channel.for status values and indications.
public static org.agrona.concurrent.status.StatusIndicatorReader receiveChannelStatus(org.agrona.concurrent.status.CountersReader countersReader, java.lang.String channel)
countersReader
- that holds the status indicator.channel
- for the receive channel.for status values and indications.
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.