public class LongDirectReference extends Object implements net.openhft.chronicle.core.values.LongValue, net.openhft.chronicle.bytes.Byteable
| Constructor and Description |
|---|
LongDirectReference() |
| Modifier and Type | Method and Description |
|---|---|
long |
addAtomicValue(long delta) |
long |
addValue(long delta) |
net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length) |
boolean |
compareAndSwapValue(long expected,
long value) |
long |
getValue() |
long |
getVolatileValue() |
long |
maxSize() |
long |
offset() |
void |
setOrderedValue(long value) |
void |
setValue(long value) |
String |
toString() |
public long getValue()
getValue in interface net.openhft.chronicle.core.values.LongValuepublic void setValue(long value)
setValue in interface net.openhft.chronicle.core.values.LongValuepublic long getVolatileValue()
getVolatileValue in interface net.openhft.chronicle.core.values.LongValuepublic void setOrderedValue(long value)
setOrderedValue in interface net.openhft.chronicle.core.values.LongValuepublic long addValue(long delta)
addValue in interface net.openhft.chronicle.core.values.LongValuepublic long addAtomicValue(long delta)
addAtomicValue in interface net.openhft.chronicle.core.values.LongValuepublic boolean compareAndSwapValue(long expected,
long value)
compareAndSwapValue in interface net.openhft.chronicle.core.values.LongValuepublic void bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length)
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic net.openhft.chronicle.bytes.BytesStore bytesStore()
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic long offset()
offset in interface net.openhft.chronicle.bytes.Byteablepublic long maxSize()
maxSize in interface net.openhft.chronicle.bytes.ByteableCopyright © 2015. All rights reserved.