public class LongTextReference 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 |
|---|
LongTextReference() |
| 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 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.Byteablepublic static void write(net.openhft.chronicle.bytes.Bytes bytes,
long value)
Copyright © 2015. All rights reserved.