public class MappedBytes extends AbstractBytes<Void>
bytesStore, readPosition, writeLimit, writePosition
MAX_CAPACITY
charToString
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 void |
parse8bit(Appendable sb,
StopCharTester stopCharTester) |
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 Reader |
reader() |
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, writeSkip
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allocateDirect, allocateElasticDirect, allocateElasticDirect, bytesForRead, elasticByteBuffer, empty, ensureCapacity, expect, expect, from, isClear, safeLimit, toHexString, toHexString, toString, toString, unchecked, wrapForRead, wrapForRead, wrapForRead, wrapForWrite, wrapForWrite
addAndGetInt, addAndGetLong, byteCheckSum, bytesForWrite, charAt, copyTo, endsWith, equalBytes, getAndAddInt, inside, length, nativePointer, startsWith, subSequence, toDebugString, wrap, wrap, wrap, zeroOut
bytesEqual, copyTo, createCharToString, parseLong, printable, readBoolean, readIncompleteLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readVolatileInt, readVolatileLong
append, write, write, writeBoolean, writeByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort
chars, codePoints
inputStream, parseWithLength, read, read, read, read, read8bit, read8bit, read8bit, read8bit, readBoolean, readEnum, readStopBit, readStopBitDouble, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTFΔ, readUTFΔ, readWithLength
append, append, append, append, append, append, append, append8bit, append8bit, appendDateMillis, appendTimeMillis, writer
outputStream, write, write, write, write, write8bit, write8bit, write8bit, write8bit, writeBoolean, writeEnum, writeStopBit, 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
FileNotFoundException
public 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.ReferenceCounted
refCount
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)
public Reader reader()
@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 StopCharTester stopCharTester)
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.