public class UnsafeBufferStatusIndicator extends StatusIndicator
| 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.
|
public UnsafeBufferStatusIndicator(AtomicBuffer buffer, int counterId)
buffer - containing the indicator.counterId - identifier of the indicator.public int id()
StatusIndicatorReaderid in class StatusIndicatorReaderpublic void setOrdered(long value)
StatusIndicatorsetOrdered in class StatusIndicatorvalue - the current status indication of the component.public long getVolatile()
StatusIndicatorReadergetVolatile in class StatusIndicatorReaderCopyright © 2014-2019 Real Logic Ltd. All Rights Reserved.