public class IntTextReference 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 |
|---|
IntTextReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length) |
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
long |
maxSize() |
long |
offset() |
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 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 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,
int value)
Copyright © 2015. All rights reserved.