public interface ByteableIntArrayValues extends net.openhft.chronicle.core.values.IntArrayValues, Byteable, DynamicallySized
Values must be stored contiguously following
BinaryIntArrayReference.SHIFT in little-endian order.
IntArrayValues,
Byteable,
DynamicallySized,
BinaryIntArrayReference| Modifier and Type | Method and Description |
|---|---|
ByteableIntArrayValues |
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, setValueAtclose, closeQuietly, closeQuietlyaddress, bytesStore, bytesStore, lock, maxSize, offset, tryLocklong sizeInBytes(long capacity)
throws IllegalStateException
sizeInBytes in interface net.openhft.chronicle.core.values.IntArrayValuescapacity - 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 wayIllegalStateExceptionByteableIntArrayValues 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.