public class TextIntArrayReference extends AbstractReference implements ByteableIntArrayValues
bytes, offset| Constructor and Description |
|---|
TextIntArrayReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindValueAt(long index,
net.openhft.chronicle.core.values.IntValue value) |
void |
bytesStore(@NotNull BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
ByteableIntArrayValues |
capacity(long arrayLength) |
boolean |
compareAndSet(long index,
int expected,
int value) |
long |
getCapacity() |
long |
getUsed() |
int |
getValueAt(long index) |
int |
getVolatileValueAt(long index) |
boolean |
isNull() |
long |
maxSize() |
static long |
peakLength(@NotNull BytesStore bytes,
long offset) |
void |
reset() |
void |
setMaxUsed(long usedAtLeast) |
void |
setOrderedValueAt(long index,
int value) |
void |
setValueAt(long index,
int value) |
long |
sizeInBytes(long capacity) |
@NotNull String |
toString() |
static void |
write(@NotNull Bytes bytes,
long capacity) |
acceptNewBytesStore, address, bytesStore, offset, performClose, threadSafetyCheckassertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, isClosing, isInUserThread, performCloseInBackground, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, throwExceptionIfClosed, throwExceptionIfClosedInSetter, unmonitor, waitForClosed, warnAndCloseIfNotClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, closeQuietly, closeQuietly, notifyClosingisClosed, isClosing, throwExceptionIfClosedbytesStore, offsetpublic static void write(@NotNull
@NotNull Bytes bytes,
long capacity)
public static long peakLength(@NotNull
@NotNull BytesStore bytes,
long offset)
public long getUsed()
getUsed in interface net.openhft.chronicle.core.values.IntArrayValuespublic void setMaxUsed(long usedAtLeast)
setMaxUsed in interface net.openhft.chronicle.core.values.IntArrayValuespublic long getCapacity()
getCapacity in interface net.openhft.chronicle.core.values.IntArrayValuespublic ByteableIntArrayValues capacity(long arrayLength)
capacity in interface ByteableIntArrayValuespublic int getValueAt(long index)
getValueAt in interface net.openhft.chronicle.core.values.IntArrayValuespublic void setValueAt(long index,
int value)
setValueAt in interface net.openhft.chronicle.core.values.IntArrayValuespublic void bindValueAt(long index,
net.openhft.chronicle.core.values.IntValue value)
bindValueAt in interface net.openhft.chronicle.core.values.IntArrayValuespublic int getVolatileValueAt(long index)
getVolatileValueAt in interface net.openhft.chronicle.core.values.IntArrayValuespublic void setOrderedValueAt(long index,
int value)
setOrderedValueAt in interface net.openhft.chronicle.core.values.IntArrayValuespublic boolean compareAndSet(long index,
int expected,
int value)
compareAndSet in interface net.openhft.chronicle.core.values.IntArrayValuespublic void bytesStore(@NotNull
@NotNull BytesStore bytes,
long offset,
long length)
ByteablebytesStore in interface ByteablebytesStore in class AbstractReferencebytes - the fix point ByteStoreoffset - the offset within the ByteStorelength - the length in the ByteStorepublic boolean isNull()
isNull in interface net.openhft.chronicle.core.values.IntArrayValuespublic void reset()
reset in interface net.openhft.chronicle.core.values.IntArrayValuespublic long maxSize()
maxSize in interface ByteablemaxSize in class AbstractReference@NotNull public @NotNull String toString()
toString in class net.openhft.chronicle.core.io.AbstractCloseablepublic long sizeInBytes(long capacity)
sizeInBytes in interface ByteableIntArrayValuessizeInBytes in interface net.openhft.chronicle.core.values.IntArrayValuesCopyright © 2020. All rights reserved.