public class BinaryIntReference extends Object implements net.openhft.chronicle.core.values.IntValue, net.openhft.chronicle.bytes.Byteable
| Constructor and Description |
|---|
BinaryIntReference() |
| 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() |
public void bytesStore(@NotNull
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.Byteablepublic 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.IntValueCopyright © 2015. All rights reserved.