public enum ZeroBytesStore extends Enum<ZeroBytesStore> implements net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
addReferenceChangeListener(net.openhft.chronicle.core.io.ReferenceChangeListener referenceChangeListener) |
long |
addressForRead(long offset) |
default long |
addressForRead(long arg0,
int arg1) |
long |
addressForWrite(long offset) |
long |
addressForWritePosition() |
default ByteOrder |
byteOrder() |
long |
capacity() |
boolean |
compareAndSwapInt(long offset,
int expected,
int value) |
boolean |
compareAndSwapLong(long offset,
long expected,
long value) |
ZeroBytesStore |
copy() |
boolean |
isDirectMemory() |
default long |
lengthWritten(long arg0) |
void |
move(long from,
long to,
long length) |
void |
nativeRead(long position,
long address,
long size) |
void |
nativeWrite(long l,
long l1,
long l2) |
int |
peekUnsignedByte(long offset) |
byte |
readByte(long offset) |
double |
readDouble(long offset) |
float |
readFloat(long offset) |
int |
readInt(long offset) |
default long |
readLimit() |
long |
readLong(long offset) |
default long |
readPosition() |
default long |
readRemaining() |
short |
readShort(long offset) |
byte |
readVolatileByte(long offset) |
int |
readVolatileInt(long offset) |
long |
readVolatileLong(long offset) |
short |
readVolatileShort(long offset) |
default long |
realReadRemaining() |
default long |
realWriteRemaining() |
int |
refCount() |
void |
release(net.openhft.chronicle.core.io.ReferenceOwner id) |
void |
releaseLast(net.openhft.chronicle.core.io.ReferenceOwner id) |
void |
removeReferenceChangeListener(net.openhft.chronicle.core.io.ReferenceChangeListener referenceChangeListener) |
void |
reserve(net.openhft.chronicle.core.io.ReferenceOwner id) |
boolean |
sharedMemory() |
default long |
start() |
void |
testAndSetInt(long offset,
int expected,
int value) |
boolean |
tryReserve(net.openhft.chronicle.core.io.ReferenceOwner id) |
Void |
underlyingObject() |
static ZeroBytesStore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZeroBytesStore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ZeroBytesStore |
write(long l,
byte[] bytes,
int i,
int i1) |
void |
write(long l,
ByteBuffer byteBuffer,
int i,
int i1) |
ZeroBytesStore |
write(long l,
net.openhft.chronicle.bytes.RandomDataInput randomDataInput,
long l1,
long l2) |
long |
write8bit(long position,
net.openhft.chronicle.bytes.BytesStore<?,?> bs) |
long |
write8bit(long position,
String s,
int start,
int length) |
ZeroBytesStore |
writeByte(long l,
byte b) |
ZeroBytesStore |
writeDouble(long l,
double v) |
ZeroBytesStore |
writeFloat(long l,
float v) |
ZeroBytesStore |
writeInt(long l,
int i) |
default long |
writeLimit() |
ZeroBytesStore |
writeLong(long l,
long l1) |
ZeroBytesStore |
writeOrderedInt(long l,
int i) |
ZeroBytesStore |
writeOrderedLong(long l,
long l1) |
default long |
writePosition() |
default long |
writeRemaining() |
ZeroBytesStore |
writeShort(long l,
short i) |
ZeroBytesStore |
writeVolatileByte(long l,
byte b) |
ZeroBytesStore |
writeVolatileInt(long l,
int i) |
ZeroBytesStore |
writeVolatileLong(long l,
long l1) |
ZeroBytesStore |
writeVolatileShort(long l,
short i) |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, toString, wait, wait, waitaddAndGetDouble, addAndGetDoubleNotAtomic, addAndGetFloat, addAndGetFloatNotAtomic, addAndGetInt, addAndGetIntNotAtomic, addAndGetLong, addAndGetShortNotAtomic, addAndGetUnsignedByteNotAtomic, byteCheckSum, byteCheckSum, bytesForRead, bytesForWrite, bytesStore, charAt, cipher, cipher, compareAndSwapDouble, compareAndSwapFloat, contentEquals, copyTo, copyTo, elasticByteBuffer, empty, endsWith, equalBytes, follow, forFields, from, from, from, hash, inside, inside, isClear, isEmpty, isEqual, lazyNativeBytesStoreWithFixedCapacity, length, nativePointer, nativeStore, nativeStoreFrom, nativeStoreWithFixedCapacity, readWrite, realCapacity, safeLimit, startsWith, startsWith, subSequence, to8bitString, toDebugString, toDebugString, wrap, wrap, wrap, writeMaxInt, writeMaxLong, zeroOutcanReadDirect, canReadDirect, compareUtf8, copyTo, copyTo, fastHash, findByte, parseLong, peekVolatileInt, printable, read, readBoolean, readIncompleteLong, readUnsignedByte, readUnsignedInt, readUnsignedInt24, readUnsignedShort, readUtf8, readUtf8Limited, readUtf8Limited, readVolatileDouble, readVolatileFloat, subBytes, toByteArray, toTemporaryDirectByteBufferappend, append, appendAndReturnLength, write, write, writeBoolean, writeByte, writeInt24, writeOrderedDouble, writeOrderedFloat, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUtf8, writeUtf8Limited, writeVolatileDouble, writeVolatileFloatreleaseLast, reserveTransferreferenceId, referenceName, temporarychars, codePoints, toStringpublic static final ZeroBytesStore INSTANCE
public static ZeroBytesStore[] values()
for (ZeroBytesStore c : ZeroBytesStore.values()) System.out.println(c);
public static ZeroBytesStore valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long addressForWrite(long offset)
throws UnsupportedOperationException,
BufferOverflowException
public long addressForWritePosition()
throws UnsupportedOperationException,
BufferOverflowException
public int peekUnsignedByte(long offset)
peekUnsignedByte in interface net.openhft.chronicle.bytes.RandomDataInputpublic byte readVolatileByte(long offset)
readVolatileByte in interface net.openhft.chronicle.bytes.RandomDataInputpublic short readVolatileShort(long offset)
readVolatileShort in interface net.openhft.chronicle.bytes.RandomDataInputpublic int readVolatileInt(long offset)
readVolatileInt in interface net.openhft.chronicle.bytes.RandomDataInputpublic long readVolatileLong(long offset)
readVolatileLong in interface net.openhft.chronicle.bytes.RandomDataInputpublic boolean isDirectMemory()
isDirectMemory in interface net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>public byte readByte(long offset)
readByte in interface net.openhft.chronicle.bytes.RandomDataInputpublic short readShort(long offset)
readShort in interface net.openhft.chronicle.bytes.RandomDataInputpublic int readInt(long offset)
readInt in interface net.openhft.chronicle.bytes.RandomDataInputpublic long readLong(long offset)
readLong in interface net.openhft.chronicle.bytes.RandomDataInputpublic float readFloat(long offset)
readFloat in interface net.openhft.chronicle.bytes.RandomDataInputpublic double readDouble(long offset)
readDouble in interface net.openhft.chronicle.bytes.RandomDataInputpublic void nativeRead(long position,
long address,
long size)
nativeRead in interface net.openhft.chronicle.bytes.RandomDataInputpublic boolean sharedMemory()
public ZeroBytesStore copy()
copy in interface net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>public long capacity()
capacity in interface net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>@Nullable public Void underlyingObject()
underlyingObject in interface net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>public void move(long from,
long to,
long length)
move in interface net.openhft.chronicle.bytes.BytesStore<ZeroBytesStore,Void>public long addressForRead(long offset)
public boolean compareAndSwapInt(long offset,
int expected,
int value)
compareAndSwapInt in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public void testAndSetInt(long offset,
int expected,
int value)
testAndSetInt in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public boolean compareAndSwapLong(long offset,
long expected,
long value)
compareAndSwapLong in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public void reserve(net.openhft.chronicle.core.io.ReferenceOwner id)
throws IllegalStateException
reserve in interface net.openhft.chronicle.core.io.ReferenceCountedIllegalStateExceptionpublic boolean tryReserve(net.openhft.chronicle.core.io.ReferenceOwner id)
throws IllegalStateException
tryReserve in interface net.openhft.chronicle.core.io.ReferenceCountedIllegalStateExceptionpublic void release(net.openhft.chronicle.core.io.ReferenceOwner id)
throws IllegalStateException
release in interface net.openhft.chronicle.core.io.ReferenceCountedIllegalStateExceptionpublic void releaseLast(net.openhft.chronicle.core.io.ReferenceOwner id)
throws IllegalStateException
releaseLast in interface net.openhft.chronicle.core.io.ReferenceCountedIllegalStateExceptionpublic int refCount()
refCount in interface net.openhft.chronicle.core.io.ReferenceCountedpublic void addReferenceChangeListener(net.openhft.chronicle.core.io.ReferenceChangeListener referenceChangeListener)
addReferenceChangeListener in interface net.openhft.chronicle.core.io.ReferenceCountedpublic void removeReferenceChangeListener(net.openhft.chronicle.core.io.ReferenceChangeListener referenceChangeListener)
removeReferenceChangeListener in interface net.openhft.chronicle.core.io.ReferenceCounted@NotNull public ZeroBytesStore writeByte(long l, byte b)
writeByte in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeShort(long l, short i)
writeShort in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeInt(long l, int i)
writeInt in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeOrderedInt(long l, int i)
writeOrderedInt in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeLong(long l, long l1)
writeLong in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeOrderedLong(long l, long l1)
writeOrderedLong in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeFloat(long l, float v)
writeFloat in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeDouble(long l, double v)
writeDouble in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeVolatileByte(long l, byte b)
writeVolatileByte in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeVolatileShort(long l, short i)
writeVolatileShort in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeVolatileInt(long l, int i)
writeVolatileInt in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore writeVolatileLong(long l, long l1)
writeVolatileLong in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore write(long l, byte[] bytes, int i, int i1)
write in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public void write(long l,
ByteBuffer byteBuffer,
int i,
int i1)
write in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>@NotNull public ZeroBytesStore write(long l, net.openhft.chronicle.bytes.RandomDataInput randomDataInput, long l1, long l2)
write in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public void nativeWrite(long l,
long l1,
long l2)
nativeWrite in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public long write8bit(long position,
net.openhft.chronicle.bytes.BytesStore<?,?> bs)
write8bit in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public long write8bit(long position,
String s,
int start,
int length)
write8bit in interface net.openhft.chronicle.bytes.RandomDataOutput<ZeroBytesStore>public long start()
public long readPosition()
public long writePosition()
public long lengthWritten(long arg0)
public long readRemaining()
public long realReadRemaining()
public long writeRemaining()
public long realWriteRemaining()
public long readLimit()
public long writeLimit()
public long addressForRead(long arg0,
int arg1)
throws UnsupportedOperationException,
BufferUnderflowException,
net.openhft.chronicle.core.io.ClosedIllegalStateException,
net.openhft.chronicle.core.io.ThreadingIllegalStateException
UnsupportedOperationExceptionBufferUnderflowExceptionnet.openhft.chronicle.core.io.ClosedIllegalStateExceptionnet.openhft.chronicle.core.io.ThreadingIllegalStateExceptionpublic ByteOrder byteOrder()
Copyright © 2024. All rights reserved.