public class IntDirectReference extends Object implements net.openhft.chronicle.core.values.IntValue, net.openhft.chronicle.bytes.Byteable
| Constructor and Description |
|---|
IntDirectReference() |
| 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() |
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.ByteableCopyright © 2015. All rights reserved.