public class TextIntReference extends Object implements net.openhft.chronicle.core.values.IntValue, net.openhft.chronicle.bytes.Byteable
| Modifier and Type | Field and Description |
|---|---|
static int |
FALSE |
static byte[] |
template |
static int |
TRUE |
| Constructor and Description |
|---|
TextIntReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
void |
bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length) |
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
long |
maxSize() |
void |
setOrderedValue(int value) |
void |
setValue(int value) |
String |
toString() |
static void |
write(net.openhft.chronicle.bytes.Bytes bytes,
int value) |
public static final byte[] template
public static final int FALSE
public static final int TRUE
public static void write(@NotNull
net.openhft.chronicle.bytes.Bytes bytes,
int value)
public 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(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length)
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic long maxSize()
maxSize in interface net.openhft.chronicle.bytes.ByteableCopyright © 2015. All rights reserved.