public class UnsafeBufferStatusIndicator extends java.lang.Object implements 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 stats 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 interface StatusIndicatorReaderpublic void setOrdered(long value)
StatusIndicatorsetOrdered in interface StatusIndicatorvalue - the current status indication of the component.public long getVolatile()
StatusIndicatorReadergetVolatile in interface StatusIndicatorReaderCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.