public class LongArrayDirectReference extends Object implements net.openhft.chronicle.core.values.LongArrayValues, net.openhft.chronicle.bytes.Byteable
| Constructor and Description |
|---|
LongArrayDirectReference() |
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length) |
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) |
String |
toString() |
static void |
write(net.openhft.chronicle.bytes.Bytes bytes,
long capacity) |
public 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 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 void bytesStore(net.openhft.chronicle.bytes.BytesStore bytes,
long offset,
long length)
bytesStore in interface net.openhft.chronicle.bytes.Byteablepublic static long peakLength(net.openhft.chronicle.bytes.BytesStore bytes,
long offset)
public 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 static void write(net.openhft.chronicle.bytes.Bytes bytes,
long capacity)
public static void lazyWrite(net.openhft.chronicle.bytes.Bytes bytes,
long capacity)
Copyright © 2015. All rights reserved.