public class TextLongReference extends Object implements net.openhft.chronicle.core.values.LongValue, net.openhft.chronicle.bytes.Byteable
| Modifier and Type | Field and Description |
|---|---|
static int |
FALSE |
static byte[] |
template |
static int |
TRUE |
| Constructor and Description |
|---|
TextLongReference() |
| 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() |
static void |
write(net.openhft.chronicle.bytes.Bytes bytes,
long value) |
public static final byte[] template
public static final int FALSE
public static final int TRUE
public static void write(net.openhft.chronicle.bytes.Bytes bytes,
long value)
public void bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length)
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic long getValue()
getValue in interface net.openhft.chronicle.core.values.LongValuepublic net.openhft.chronicle.bytes.BytesStore bytesStore()
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic void setValue(long value)
setValue in interface net.openhft.chronicle.core.values.LongValuepublic long offset()
offset in interface net.openhft.chronicle.bytes.Byteablepublic long getVolatileValue()
getVolatileValue in interface net.openhft.chronicle.core.values.LongValuepublic long maxSize()
maxSize in interface net.openhft.chronicle.bytes.Byteablepublic 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.LongValueCopyright © 2015. All rights reserved.