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