public class BinaryLongArrayReference extends Object implements ByteableLongArrayValues
| Constructor and Description |
|---|
BinaryLongArrayReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindValueAt(int index,
net.openhft.chronicle.core.values.LongValue value) |
net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length) |
boolean |
compareAndSet(long index,
long expected,
long value) |
long |
getCapacity() |
long |
getValueAt(long index) |
long |
getVolatileValueAt(long index) |
static void |
lazyWrite(net.openhft.chronicle.bytes.Bytes bytes,
long capacity) |
long |
maxSize() |
long |
offset() |
static long |
peakLength(net.openhft.chronicle.bytes.BytesStore bytes,
long offset) |
void |
setOrderedValueAt(long index,
long value) |
void |
setValueAt(long index,
long value) |
long |
sizeInBytes(long capacity) |
String |
toString() |
static void |
write(net.openhft.chronicle.bytes.Bytes bytes,
long capacity) |
public static void write(@NotNull
net.openhft.chronicle.bytes.Bytes bytes,
long capacity)
throws BufferOverflowException,
IllegalArgumentException
public static void lazyWrite(@NotNull
net.openhft.chronicle.bytes.Bytes bytes,
long capacity)
throws BufferOverflowException
BufferOverflowExceptionpublic static long peakLength(@NotNull
net.openhft.chronicle.bytes.BytesStore bytes,
long offset)
throws BufferUnderflowException
BufferUnderflowExceptionpublic long getCapacity()
getCapacity in interface net.openhft.chronicle.core.values.LongArrayValuespublic long getValueAt(long index)
throws BufferUnderflowException
getValueAt in interface net.openhft.chronicle.core.values.LongArrayValuesBufferUnderflowExceptionpublic void setValueAt(long index,
long value)
throws IllegalArgumentException,
BufferOverflowException
setValueAt in interface net.openhft.chronicle.core.values.LongArrayValuesIllegalArgumentExceptionBufferOverflowExceptionpublic long getVolatileValueAt(long index)
throws BufferUnderflowException
getVolatileValueAt in interface net.openhft.chronicle.core.values.LongArrayValuesBufferUnderflowExceptionpublic void bindValueAt(int index,
@NotNull
net.openhft.chronicle.core.values.LongValue value)
bindValueAt in interface net.openhft.chronicle.core.values.LongArrayValuespublic void setOrderedValueAt(long index,
long value)
throws IllegalArgumentException,
BufferOverflowException
setOrderedValueAt in interface net.openhft.chronicle.core.values.LongArrayValuesIllegalArgumentExceptionBufferOverflowExceptionpublic boolean compareAndSet(long index,
long expected,
long value)
throws IllegalArgumentException,
BufferOverflowException
compareAndSet in interface net.openhft.chronicle.core.values.LongArrayValuesIllegalArgumentExceptionBufferOverflowExceptionpublic void bytesStore(@NotNull
net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length)
throws BufferUnderflowException,
IllegalArgumentException
bytesStore in interface net.openhft.chronicle.bytes.ByteableBufferUnderflowExceptionIllegalArgumentExceptionpublic net.openhft.chronicle.bytes.BytesStore bytesStore()
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic long offset()
offset in interface net.openhft.chronicle.bytes.Byteablepublic long maxSize()
maxSize in interface net.openhft.chronicle.bytes.Byteablepublic long sizeInBytes(long capacity)
sizeInBytes in interface net.openhft.chronicle.core.values.LongArrayValuessizeInBytes in interface ByteableLongArrayValuesCopyright © 2015. All rights reserved.