public interface ByteableLongArrayValues extends net.openhft.chronicle.core.values.LongArrayValues, Byteable, DynamicallySized
Implementations must store each value contiguously according to
BinaryLongArrayReference.SHIFT and are expected to use
little-endian aligned storage.
LongArrayValues,
Byteable,
DynamicallySized,
BinaryLongArrayReference| Modifier and Type | Method and Description |
|---|---|
ByteableLongArrayValues |
capacity(long arrayLength)
Sets the capacity of the array as a count of elements, not bytes.
|
long |
sizeInBytes(long capacity)
Calculates the byte size required to hold the provided element capacity.
|
bindValueAt, compareAndSet, getCapacity, getUsed, getValueAt, getVolatileValueAt, isNull, reset, setMaxUsed, setOrderedValueAt, setUsed, setValueAtclose, closeQuietly, closeQuietlyaddress, bytesStore, bytesStore, lock, maxSize, offset, tryLocklong sizeInBytes(long capacity)
throws IllegalStateException
sizeInBytes in interface net.openhft.chronicle.core.values.LongArrayValuescapacity - the number of elementsnet.openhft.chronicle.core.io.ClosedIllegalStateException - If the resource has been released or closed.net.openhft.chronicle.core.io.ThreadingIllegalStateException - If this resource was accessed by multiple threads in an unsafe wayIllegalStateExceptionByteableLongArrayValues capacity(long arrayLength) throws IllegalStateException
arrayLength - the desired element countnet.openhft.chronicle.core.io.ClosedIllegalStateException - If the resource has been released or closed.net.openhft.chronicle.core.io.ThreadingIllegalStateException - If this resource was accessed by multiple threads in an unsafe wayIllegalStateExceptionCopyright © 2026 Chronicle Software Ltd. All rights reserved.