public class TextIntReference extends AbstractReference implements net.openhft.chronicle.core.values.IntValue
bytes, offset| Constructor and Description |
|---|
TextIntReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
void |
bytesStore(@NotNull BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
long |
maxSize() |
void |
setOrderedValue(int value) |
void |
setValue(int value) |
@NotNull String |
toString() |
static void |
write(@NotNull Bytes bytes,
int value) |
acceptNewBytesStore, address, bytesStore, close, offsetpublic static void write(@NotNull
@NotNull Bytes bytes,
int value)
throws BufferOverflowException
BufferOverflowExceptionpublic int getValue()
getValue in interface net.openhft.chronicle.core.values.IntValuepublic void setValue(int value)
setValue in interface net.openhft.chronicle.core.values.IntValuepublic int getVolatileValue()
getVolatileValue in interface net.openhft.chronicle.core.values.IntValuepublic void setOrderedValue(int value)
setOrderedValue in interface net.openhft.chronicle.core.values.IntValuepublic int addValue(int delta)
addValue in interface net.openhft.chronicle.core.values.IntValuepublic int addAtomicValue(int delta)
addAtomicValue in interface net.openhft.chronicle.core.values.IntValuepublic boolean compareAndSwapValue(int expected,
int value)
compareAndSwapValue in interface net.openhft.chronicle.core.values.IntValuepublic 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 maxSize()
maxSize in interface ByteablemaxSize in class AbstractReferenceCopyright © 2020. All rights reserved.