public class IntBinaryReference extends Object implements net.openhft.chronicle.core.values.IntValue, net.openhft.chronicle.bytes.Byteable
Constructor and Description |
---|
IntBinaryReference() |
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(net.openhft.chronicle.bytes.BytesStore bytes, long offset, long length)
bytesStore
in interface net.openhft.chronicle.bytes.Byteable
public long maxSize()
maxSize
in interface net.openhft.chronicle.bytes.Byteable
public int getValue()
getValue
in interface net.openhft.chronicle.core.values.IntValue
public void setValue(int value)
setValue
in interface net.openhft.chronicle.core.values.IntValue
public int getVolatileValue()
getVolatileValue
in interface net.openhft.chronicle.core.values.IntValue
public void setOrderedValue(int value)
setOrderedValue
in interface net.openhft.chronicle.core.values.IntValue
public int addValue(int delta)
addValue
in interface net.openhft.chronicle.core.values.IntValue
public int addAtomicValue(int delta)
addAtomicValue
in interface net.openhft.chronicle.core.values.IntValue
public boolean compareAndSwapValue(int expected, int value)
compareAndSwapValue
in interface net.openhft.chronicle.core.values.IntValue
Copyright © 2015. All rights reserved.