public class UnsafeBufferStatusIndicator extends StatusIndicator
StatusIndicator which wraps an AtomicBuffer with a given counter id.CountersManager| Constructor and Description |
|---|
UnsafeBufferStatusIndicator(AtomicBuffer buffer,
int counterId)
Map a status indicator over a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getVolatile()
Get the current status indication of a component with volatile semantics.
|
int |
id()
Identifier for this status indicator.
|
void |
setOrdered(long value)
Sets the current status indication of the component with ordered atomic memory semantics.
|
String |
toString() |
public UnsafeBufferStatusIndicator(AtomicBuffer buffer, int counterId)
buffer - containing the indicator.counterId - identifier of the indicator.public int id()
id in class StatusIndicatorReaderpublic void setOrdered(long value)
setOrdered in class StatusIndicatorvalue - the current status indication of the component.public long getVolatile()
getVolatile in class StatusIndicatorReaderCopyright © 2014-2021 Real Logic Limited. All Rights Reserved.