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 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, finalize, 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
bytesForRead, elasticByteBuffer, ensureCapacity, expect, expect, from, isClear, safeLimit, toHexString, toHexString, toString, toString, unchecked, wrapForRead, wrapForRead, wrapForWrite, wrapForWrite
addAndGetInt, addAndGetLong, byteCheckSum, bytesForWrite, charAt, copyTo, equalBytes, getAndAddInt, inside, length, nativePointer, subSequence, toDebugString, 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, readBoolean, readStopBit, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTFΔ, readUTFΔ, readWithLength
append, append, append, append, append, append, append, append8bit, appendDateMillis, appendTimeMillis
outputStream, write, write, writeBoolean, writeStopBit, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUTFΔ
public static MappedBytes mappedBytes(String filename, long chunkSize) throws FileNotFoundException
FileNotFoundException
public static MappedBytes mappedBytes(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()
public Bytes<Void> write(BytesStore buffer, long offset, long length)
public String parseUTF(StopCharTester stopCharTester)
public void parseUTF(Appendable sb, StopCharTester stopCharTester)
public void parseUTF(Appendable sb, StopCharsTester stopCharsTester)
public void parse8bit(Appendable sb, StopCharsTester stopCharsTester)
public long parseLong()
public double parseDouble()
public boolean skipTo(StopCharTester tester)
public long readRemaining()
public long writeRemaining()
public ByteOrder byteOrder()
Copyright © 2015. All rights reserved.