public class TextLongArrayReference extends Object implements ByteableLongArrayValues
| Constructor and Description |
|---|
TextLongArrayReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindValueAt(int index,
net.openhft.chronicle.core.values.LongValue value) |
BytesStore |
bytesStore() |
void |
bytesStore(BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
boolean |
compareAndSet(long index,
long expected,
long value) |
long |
getCapacity() |
long |
getUsed() |
long |
getValueAt(long index) |
long |
getVolatileValueAt(long index) |
boolean |
isNull() |
long |
maxSize() |
long |
offset() |
static long |
peakLength(BytesStore bytes,
long offset) |
void |
reset() |
void |
setMaxUsed(long usedAtLeast) |
void |
setOrderedValueAt(long index,
long value) |
void |
setValueAt(long index,
long value) |
long |
sizeInBytes(long capacity) |
String |
toString() |
static void |
write(Bytes bytes,
long capacity) |
public static void write(@NotNull
Bytes bytes,
long capacity)
public static long peakLength(@NotNull
BytesStore bytes,
long offset)
public long getUsed()
getUsed in interface net.openhft.chronicle.core.values.LongArrayValuespublic void setMaxUsed(long usedAtLeast)
setMaxUsed in interface net.openhft.chronicle.core.values.LongArrayValuespublic long getCapacity()
getCapacity in interface net.openhft.chronicle.core.values.LongArrayValuespublic long getValueAt(long index)
getValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic void setValueAt(long index,
long value)
setValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic void bindValueAt(int index,
net.openhft.chronicle.core.values.LongValue value)
bindValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic long getVolatileValueAt(long index)
getVolatileValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic void setOrderedValueAt(long index,
long value)
setOrderedValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic boolean compareAndSet(long index,
long expected,
long value)
compareAndSet in interface net.openhft.chronicle.core.values.LongArrayValuespublic void bytesStore(@NotNull
BytesStore bytes,
long offset,
long length)
ByteablebytesStore in interface Byteablebytes - the fix point ByteStoreoffset - the offset within the ByteStorelength - the length in the ByteStorepublic boolean isNull()
isNull in interface net.openhft.chronicle.core.values.LongArrayValuespublic void reset()
reset in interface net.openhft.chronicle.core.values.LongArrayValues@Nullable public BytesStore bytesStore()
bytesStore in interface Byteablepublic long maxSize()
public long sizeInBytes(long capacity)
sizeInBytes in interface ByteableLongArrayValuessizeInBytes in interface net.openhft.chronicle.core.values.LongArrayValuesCopyright © 2018. All rights reserved.