public class TextLongReference extends AbstractReference implements LongReference
bytes, offset| Constructor and Description |
|---|
TextLongReference() |
| Modifier and Type | Method and Description |
|---|---|
long |
addAtomicValue(long delta) |
long |
addValue(long delta) |
void |
bytesStore(@NotNull BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
boolean |
compareAndSwapValue(long expected,
long value) |
long |
getValue() |
long |
getVolatileValue() |
long |
maxSize() |
void |
setOrderedValue(long value) |
void |
setValue(long value) |
@NotNull String |
toString() |
static void |
write(@NotNull Bytes bytes,
long value) |
acceptNewBytesStore, address, bytesStore, close, offsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetMaxValue, setMinValuebytesStore, offsetpublic static void write(@NotNull
@NotNull Bytes bytes,
long value)
throws BufferOverflowException,
IllegalArgumentException
public void bytesStore(@NotNull
@NotNull BytesStore bytes,
long offset,
long length)
ByteablebytesStore in interface ByteablebytesStore in class AbstractReferencebytes - the fix point ByteStoreoffset - the offset within the ByteStorelength - the length in the ByteStorepublic 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 long maxSize()
maxSize in interface ByteablemaxSize in class AbstractReferencepublic 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 © 2020. All rights reserved.