public class MappedBytes extends AbstractBytes<Void>
bytesStore, readPosition, writeLimit, writePositionMAX_CAPACITYcharToString| Modifier and Type | Method and Description |
|---|---|
default ByteOrder |
byteOrder() |
long |
capacity() |
BytesStore<Bytes<Void>,Void> |
copy() |
boolean |
isElastic() |
static MappedBytes |
mappedBytes(File file,
long chunkSize) |
static MappedBytes |
mappedBytes(String filename,
long chunkSize) |
default void |
parse8bit(Appendable sb,
StopCharsTester stopCharsTester) |
default double |
parseDouble() |
default long |
parseLong() |
default void |
parseUTF(Appendable sb,
StopCharsTester stopCharsTester) |
default void |
parseUTF(Appendable sb,
StopCharTester stopCharTester) |
default String |
parseUTF(StopCharTester stopCharTester) |
protected void |
performRelease() |
protected void |
readCheckOffset(long offset,
long adding) |
default long |
readRemaining() |
long |
refCount() |
default boolean |
skipTo(StopCharTester tester) |
long |
start() |
Bytes<Void> |
write(BytesStore buffer,
long offset,
long length) |
protected void |
writeCheckOffset(long offset,
long adding) |
default long |
writeRemaining() |
address, bytesStore, clear, compareAndSwapInt, compareAndSwapLong, equals, equalsBytes, hashCode, nativeRead, nativeRead, nativeWrite, nativeWrite, peekUnsignedByte, readByte, readByte, readDouble, readDouble, readFloat, readFloat, readInt, readInt, readLimit, readLimit, readLong, readLong, readOffsetPositionMoved, readPosition, readPosition, readShort, readShort, readSkip, readVolatileInt, readVolatileLong, realCapacity, release, reserve, toString, underlyingObject, write, write, write, write, write, writeByte, writeByte, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLimit, writeLimit, writeLong, writeLong, writeOffsetPositionMoved, writeOrderedInt, writeOrderedInt, writeOrderedLong, writeOrderedLong, writePosition, writePosition, writeShort, writeShort, writeSkipclone, finalize, getClass, notify, notifyAll, wait, wait, waitallocateDirect, allocateElasticDirect, allocateElasticDirect, bytesForRead, elasticByteBuffer, ensureCapacity, expect, expect, from, isClear, safeLimit, toHexString, toHexString, toString, toString, unchecked, wrapForRead, wrapForRead, wrapForWrite, wrapForWriteaddAndGetInt, addAndGetLong, byteCheckSum, bytesForWrite, charAt, copyTo, equalBytes, getAndAddInt, inside, length, nativePointer, subSequence, toDebugString, wrap, wrap, zeroOutbytesEqual, copyTo, createCharToString, parseLong, printable, readBoolean, readIncompleteLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readVolatileInt, readVolatileLongappend, write, write, writeBoolean, writeByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedShortchars, codePointsinputStream, parseWithLength, read, read, readBoolean, readStopBit, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTFΔ, readUTFΔ, readWithLengthappend, append, append, append, append, append, append, append8bit, appendDateMillis, appendTimeMillisoutputStream, write, write, writeBoolean, writeStopBit, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUTFΔ@NotNull public static MappedBytes mappedBytes(@NotNull String filename, long chunkSize) throws FileNotFoundException
FileNotFoundException@NotNull public static MappedBytes mappedBytes(@NotNull File file, long chunkSize) throws FileNotFoundException
FileNotFoundExceptionpublic BytesStore<Bytes<Void>,Void> copy()
public long capacity()
capacity in interface BytesStore<Bytes<Void>,Void>capacity in class AbstractBytes<Void>public long refCount()
refCount in interface net.openhft.chronicle.core.ReferenceCountedrefCount in class AbstractBytes<Void>protected void readCheckOffset(long offset,
long adding)
protected void writeCheckOffset(long offset,
long adding)
public long start()
start in class AbstractBytes<Void>protected void performRelease()
public boolean isElastic()
@NotNull public Bytes<Void> write(BytesStore buffer, long offset, long length)
@NotNull public String parseUTF(@NotNull StopCharTester stopCharTester)
public void parseUTF(@NotNull
Appendable sb,
@NotNull
StopCharTester stopCharTester)
public void parseUTF(@NotNull
Appendable sb,
@NotNull
StopCharsTester stopCharsTester)
public void parse8bit(Appendable sb, @NotNull StopCharsTester stopCharsTester)
public long parseLong()
public double parseDouble()
public boolean skipTo(@NotNull
StopCharTester tester)
public long readRemaining()
public long writeRemaining()
public ByteOrder byteOrder()
Copyright © 2015. All rights reserved.