Constructor and Description |
---|
TextIntReference() |
Modifier and Type | Method and Description |
---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
BytesStore |
bytesStore() |
void |
bytesStore(BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
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(Bytes bytes,
int value) |
public static void write(@NotNull Bytes bytes, int value)
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
public void bytesStore(BytesStore bytes, long offset, long length)
Byteable
bytesStore
in interface Byteable
bytes
- the fix point ByteStoreoffset
- the offset within the ByteStorelength
- the length in the ByteStorepublic BytesStore bytesStore()
bytesStore
in interface Byteable
public long maxSize()
Copyright © 2016. All rights reserved.