public class TextIntReference extends AbstractReference implements net.openhft.chronicle.core.values.IntValue
bytes, offset
Constructor and Description |
---|
TextIntReference() |
Modifier and Type | Method and Description |
---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
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() |
void |
setOrderedValue(int value) |
void |
setValue(int value) |
String |
toString() |
static void |
write(Bytes bytes,
int value) |
acceptNewBytesStore, address, bytesStore, close, offset
public static void write(@NotNull Bytes bytes, int value) throws BufferOverflowException
BufferOverflowException
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(@NotNull BytesStore bytes, long offset, long length)
Byteable
bytesStore
in interface Byteable
bytesStore
in class AbstractReference
bytes
- the fix point ByteStoreoffset
- the offset within the ByteStorelength
- the length in the ByteStorepublic long maxSize()
maxSize
in interface Byteable
maxSize
in class AbstractReference
Copyright © 2018. All rights reserved.