public class WrappedExcerpt extends Object implements ExcerptTailer, ExcerptAppender, Excerpt
| Constructor and Description |
|---|
WrappedExcerpt(ExcerptCommon excerptCommon) |
| Modifier and Type | Method and Description |
|---|---|
int |
addAndGetInt(long offset,
int delta) |
double |
addAtomicDouble(long offset,
double d) |
float |
addAtomicFloat(long offset,
float f) |
int |
addAtomicInt(long offset,
int i) |
long |
addAtomicLong(long offset,
long l) |
byte |
addByte(long offset,
byte b) |
double |
addDouble(long offset,
double d) |
float |
addFloat(long offset,
float f) |
int |
addInt(long offset,
int i) |
long |
addLong(long offset,
long i) |
void |
addPaddedEntry()
Add a padded entry to keep the index in sync with a master source.
|
short |
addShort(long offset,
short s) |
int |
addUnsignedByte(long offset,
int i) |
long |
addUnsignedInt(long offset,
long i) |
int |
addUnsignedShort(long offset,
int i) |
net.openhft.lang.io.ByteStringAppender |
append(boolean b) |
net.openhft.lang.io.ByteStringAppender |
append(char c) |
net.openhft.lang.io.ByteStringAppender |
append(CharSequence s) |
net.openhft.lang.io.ByteStringAppender |
append(CharSequence s,
int start,
int end) |
net.openhft.lang.io.ByteStringAppender |
append(double d) |
net.openhft.lang.io.ByteStringAppender |
append(double d,
int precision) |
net.openhft.lang.io.ByteStringAppender |
append(Enum value) |
net.openhft.lang.io.ByteStringAppender |
append(int num) |
<E> net.openhft.lang.io.ByteStringAppender |
append(Iterable<E> list,
CharSequence seperator) |
net.openhft.lang.io.ByteStringAppender |
append(long num) |
net.openhft.lang.io.ByteStringAppender |
append(long l,
int base) |
net.openhft.lang.io.ByteStringAppender |
append(net.openhft.lang.io.MutableDecimal md) |
net.openhft.lang.io.ByteStringAppender |
appendDateMillis(long timeInMS) |
net.openhft.lang.io.ByteStringAppender |
appendDateTimeMillis(long timeInMS) |
net.openhft.lang.io.ByteStringAppender |
appendTimeMillis(long timeInMS) |
int |
available() |
void |
busyLockInt(long offset) |
void |
busyLockLong(long offset) |
ByteOrder |
byteOrder() |
net.openhft.lang.io.serialization.BytesMarshallerFactory |
bytesMarshallerFactory() |
long |
capacity() |
char |
charAt(int index) |
void |
checkEndOfBuffer() |
Chronicle |
chronicle() |
void |
close() |
boolean |
compareAndSwapInt(long offset,
int expected,
int x) |
boolean |
compareAndSwapLong(long offset,
long expected,
long x) |
long |
findMatch(ExcerptComparator comparator)
Find any entry which return a match i.e.
|
void |
findRange(long[] startEnd,
ExcerptComparator comparator)
Find entries which return a match.
|
void |
finish()
Finish reading or writing.
|
void |
flush() |
int |
getAndAdd(long offset,
int delta) |
long |
index() |
boolean |
index(long index)
Randomly select an Excerpt.
|
InputStream |
inputStream() |
boolean |
isFinished() |
long |
lastWrittenIndex() |
int |
length() |
boolean |
nextIndex()
Wind to the next entry, no matter how many padded index entries you need to skip.
|
boolean |
nextSynchronous()
The default value is ChronicleConfig.synchronousMode()
|
void |
nextSynchronous(boolean nextSynchronous) |
OutputStream |
outputStream() |
Boolean |
parseBoolean(net.openhft.lang.io.StopCharTester tester) |
net.openhft.lang.io.MutableDecimal |
parseDecimal(net.openhft.lang.io.MutableDecimal decimal) |
double |
parseDouble() |
<E extends Enum<E>> |
parseEnum(Class<E> eClass,
net.openhft.lang.io.StopCharTester tester) |
long |
parseLong() |
long |
parseLong(int base) |
String |
parseUTF(net.openhft.lang.io.StopCharTester tester) |
void |
parseUTF(StringBuilder builder,
net.openhft.lang.io.StopCharTester tester) |
long |
position() |
void |
position(long position) |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int off,
int len) |
void |
read(ByteBuffer bb) |
boolean |
readBoolean() |
boolean |
readBoolean(long offset) |
byte |
readByte() |
byte |
readByte(long offset) |
char |
readChar() |
char |
readChar(long offset) |
double |
readCompactDouble() |
int |
readCompactInt() |
long |
readCompactLong() |
short |
readCompactShort() |
long |
readCompactUnsignedInt() |
int |
readCompactUnsignedShort() |
double |
readDouble() |
double |
readDouble(long offset) |
<E> E |
readEnum(Class<E> aClass) |
float |
readFloat() |
float |
readFloat(long offset) |
void |
readFully(byte[] bytes) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
int |
readInt(long offset) |
int |
readInt24() |
int |
readInt24(long offset) |
long |
readInt48() |
long |
readInt48(long offset) |
String |
readLine() |
<E> void |
readList(Collection<E> list,
Class<E> eClass) |
long |
readLong() |
long |
readLong(long offset) |
<K,V> Map<K,V> |
readMap(Map<K,V> map,
Class<K> kClass,
Class<V> vClass) |
void |
readMarshallable(net.openhft.lang.io.Bytes in) |
Object |
readObject() |
<T> T |
readObject(Class<T> tClass) |
void |
readObject(Object object,
int start,
int end) |
short |
readShort() |
short |
readShort(long offset) |
long |
readStopBit() |
int |
readUnsignedByte() |
int |
readUnsignedByte(long offset) |
long |
readUnsignedInt() |
long |
readUnsignedInt(long offset) |
int |
readUnsignedShort() |
int |
readUnsignedShort(long offset) |
String |
readUTF() |
String |
readUTFΔ() |
String |
readUTFΔ(long offset) |
boolean |
readUTFΔ(StringBuilder stringBuilder) |
double |
readVolatileDouble(long offset) |
float |
readVolatileFloat(long offset) |
int |
readVolatileInt() |
int |
readVolatileInt(long offset) |
long |
readVolatileLong() |
long |
readVolatileLong(long offset) |
long |
remaining() |
void |
reset() |
long |
size()
This is an upper bound for the number of entires available.
|
long |
skip(long n) |
int |
skipBytes(int n) |
boolean |
skipTo(net.openhft.lang.io.StopCharTester tester) |
void |
startExcerpt()
Start an excerpt with the default message capacity of 128K (can be configured)
This can waste up to 0.1% of disk space, unless you have sparse file support like Linux, when you will waste far less.
|
void |
startExcerpt(long capacity)
Ensure there is enough capacity for a new entry of up to the size given.
|
boolean |
stepBackAndSkipTo(net.openhft.lang.io.StopCharTester tester) |
CharSequence |
subSequence(int start,
int end) |
WrappedExcerpt |
toEnd()
Wind to the end.
|
Excerpt |
toStart()
Replay from the start.
|
boolean |
tryLockInt(long offset) |
boolean |
tryLockLong(long offset) |
boolean |
tryLockNanosInt(long offset,
long nanos) |
boolean |
tryLockNanosLong(long offset,
long nanos) |
void |
unlockInt(long offset) |
void |
unlockLong(long offset) |
boolean |
wasPadding() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(ByteBuffer bb) |
void |
write(net.openhft.lang.io.BytesCommon bytes,
long position,
long length) |
void |
write(int b) |
void |
write(long offset,
byte[] bytes) |
void |
writeBoolean(boolean v) |
void |
writeBoolean(long offset,
boolean v) |
void |
writeByte(int v) |
void |
writeByte(long offset,
int b) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChar(long offset,
int v) |
void |
writeChars(String s) |
void |
writeCompactDouble(double v) |
void |
writeCompactInt(int v) |
void |
writeCompactLong(long v) |
void |
writeCompactShort(int v) |
void |
writeCompactUnsignedInt(long v) |
void |
writeCompactUnsignedShort(int v) |
void |
writeDouble(double v) |
void |
writeDouble(long offset,
double v) |
<E> void |
writeEnum(E o) |
void |
writeFloat(float v) |
void |
writeFloat(long offset,
float v) |
void |
writeInt(int v) |
void |
writeInt(long offset,
int v) |
void |
writeInt24(int v) |
void |
writeInt24(long offset,
int v) |
void |
writeInt48(long v) |
void |
writeInt48(long offset,
long v) |
<E> void |
writeList(Collection<E> list) |
void |
writeLong(long v) |
void |
writeLong(long offset,
long v) |
<K,V> void |
writeMap(Map<K,V> map) |
void |
writeMarshallable(net.openhft.lang.io.Bytes out) |
void |
writeObject(Object obj) |
void |
writeObject(Object object,
int start,
int end) |
void |
writeOrderedDouble(long offset,
double v) |
void |
writeOrderedFloat(long offset,
float v) |
void |
writeOrderedInt(int v) |
void |
writeOrderedInt(long offset,
int v) |
void |
writeOrderedLong(long v) |
void |
writeOrderedLong(long offset,
long v) |
void |
writeShort(int v) |
void |
writeShort(long offset,
int v) |
void |
writeStartToPosition(net.openhft.lang.io.Bytes bytes)
Deprecated.
|
void |
writeStopBit(long n) |
void |
writeUnsignedByte(int v) |
void |
writeUnsignedByte(long offset,
int v) |
void |
writeUnsignedInt(long v) |
void |
writeUnsignedInt(long offset,
long v) |
void |
writeUnsignedShort(int v) |
void |
writeUnsignedShort(long offset,
int v) |
void |
writeUTF(String s) |
void |
writeUTFΔ(CharSequence str) |
void |
writeUTFΔ(long offset,
int maxSize,
CharSequence s) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic WrappedExcerpt(ExcerptCommon excerptCommon)
public <E extends Enum<E>> E parseEnum(@NotNull Class<E> eClass, @NotNull net.openhft.lang.io.StopCharTester tester)
parseEnum in interface net.openhft.lang.io.ByteStringParserpublic void reset()
reset in interface net.openhft.lang.io.BytesCommonpublic void readObject(Object object, int start, int end)
readObject in interface net.openhft.lang.io.RandomDataInputpublic void writeObject(Object object, int start, int end)
writeObject in interface net.openhft.lang.io.RandomDataOutputpublic Chronicle chronicle()
chronicle in interface ExcerptCommonpublic long size()
ExcerptCommonsize in interface ExcerptCommonpublic boolean nextIndex()
ExcerptTailernextIndex in interface ExcerptTailerpublic boolean index(long index)
throws IndexOutOfBoundsException
ExcerptTailerindex in interface Excerptindex in interface ExcerptTailerindex - index to look upIndexOutOfBoundsExceptionpublic void startExcerpt()
ExcerptAppenderstartExcerpt in interface ExcerptAppenderpublic void startExcerpt(long capacity)
ExcerptAppenderstartExcerpt in interface ExcerptAppendercapacity - to allow for, but not exceed.public void addPaddedEntry()
ExcerptAppenderaddPaddedEntry in interface ExcerptAppenderpublic boolean nextSynchronous()
ExcerptAppendernextSynchronous in interface ExcerptAppenderpublic void nextSynchronous(boolean nextSynchronous)
nextSynchronous in interface ExcerptAppendernextSynchronous - make the next write synchronous or not.public void finish()
ExcerptCommonfinish in interface ExcerptCommonfinish in interface net.openhft.lang.io.BytesCommonpublic long index()
index in interface ExcerptCommonpublic long position()
position in interface net.openhft.lang.io.BytesCommonpublic Boolean parseBoolean(@NotNull net.openhft.lang.io.StopCharTester tester)
parseBoolean in interface net.openhft.lang.io.ByteStringParserpublic long capacity()
capacity in interface net.openhft.lang.io.BytesCommonpublic long remaining()
remaining in interface net.openhft.lang.io.BytesCommonpublic void readFully(@NotNull
byte[] bytes)
public int skipBytes(int n)
public void readFully(@NotNull
byte[] b,
int off,
int len)
public boolean readBoolean()
readBoolean in interface DataInputreadBoolean in interface net.openhft.lang.io.RandomDataInputpublic boolean readBoolean(long offset)
readBoolean in interface net.openhft.lang.io.RandomDataInputpublic int readUnsignedByte()
readUnsignedByte in interface DataInputreadUnsignedByte in interface net.openhft.lang.io.RandomDataInputpublic int readUnsignedByte(long offset)
readUnsignedByte in interface net.openhft.lang.io.RandomDataInputpublic int readUnsignedShort()
readUnsignedShort in interface DataInputreadUnsignedShort in interface net.openhft.lang.io.RandomDataInputpublic int readUnsignedShort(long offset)
readUnsignedShort in interface net.openhft.lang.io.RandomDataInputpublic String readLine()
@NotNull public String readUTF()
@Nullable public String readUTFΔ()
readUTFΔ in interface net.openhft.lang.io.RandomDataInput@Nullable public String readUTFΔ(long offset) throws IllegalStateException
readUTFΔ in interface net.openhft.lang.io.RandomDataInputIllegalStateExceptionpublic boolean readUTFΔ(@NotNull
StringBuilder stringBuilder)
readUTFΔ in interface net.openhft.lang.io.RandomDataInput@NotNull public String parseUTF(@NotNull net.openhft.lang.io.StopCharTester tester)
parseUTF in interface net.openhft.lang.io.ByteStringParserpublic void parseUTF(@NotNull
StringBuilder builder,
@NotNull
net.openhft.lang.io.StopCharTester tester)
parseUTF in interface net.openhft.lang.io.ByteStringParserpublic short readCompactShort()
readCompactShort in interface net.openhft.lang.io.RandomDataInputpublic int readCompactUnsignedShort()
readCompactUnsignedShort in interface net.openhft.lang.io.RandomDataInputpublic int readInt24()
readInt24 in interface net.openhft.lang.io.RandomDataInputpublic int readInt24(long offset)
readInt24 in interface net.openhft.lang.io.RandomDataInputpublic long readUnsignedInt()
readUnsignedInt in interface net.openhft.lang.io.RandomDataInputpublic long readUnsignedInt(long offset)
readUnsignedInt in interface net.openhft.lang.io.RandomDataInputpublic int readCompactInt()
readCompactInt in interface net.openhft.lang.io.RandomDataInputpublic long readCompactUnsignedInt()
readCompactUnsignedInt in interface net.openhft.lang.io.RandomDataInputpublic long readInt48()
readInt48 in interface net.openhft.lang.io.RandomDataInputpublic long readInt48(long offset)
readInt48 in interface net.openhft.lang.io.RandomDataInputpublic long readCompactLong()
readCompactLong in interface net.openhft.lang.io.RandomDataInputpublic long readStopBit()
readStopBit in interface net.openhft.lang.io.RandomDataInputpublic double readCompactDouble()
readCompactDouble in interface net.openhft.lang.io.RandomDataInputpublic void read(@NotNull
ByteBuffer bb)
read in interface net.openhft.lang.io.RandomDataInputpublic void write(byte[] bytes)
write in interface DataOutputwrite in interface ObjectOutputwrite in interface net.openhft.lang.io.RandomDataOutputpublic void writeBoolean(boolean v)
writeBoolean in interface DataOutputwriteBoolean in interface net.openhft.lang.io.RandomDataOutputpublic void writeBoolean(long offset,
boolean v)
writeBoolean in interface net.openhft.lang.io.RandomDataOutputpublic void writeBytes(@NotNull
String s)
writeBytes in interface DataOutputwriteBytes in interface net.openhft.lang.io.RandomDataOutputpublic void writeChars(@NotNull
String s)
writeChars in interface DataOutputwriteChars in interface net.openhft.lang.io.RandomDataOutputpublic void writeUTF(@NotNull
String s)
writeUTF in interface DataOutputwriteUTF in interface net.openhft.lang.io.RandomDataOutputpublic void writeUTFΔ(CharSequence str)
writeUTFΔ in interface net.openhft.lang.io.RandomDataOutputpublic void writeUTFΔ(long offset,
int maxSize,
@Nullable
CharSequence s)
throws IllegalStateException
writeUTFΔ in interface net.openhft.lang.io.RandomDataOutputIllegalStateExceptionpublic void writeByte(int v)
writeByte in interface DataOutputwriteByte in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedByte(int v)
writeUnsignedByte in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedByte(long offset,
int v)
writeUnsignedByte in interface net.openhft.lang.io.RandomDataOutputpublic void write(long offset,
byte[] bytes)
write in interface net.openhft.lang.io.RandomDataOutputpublic void write(byte[] bytes,
int off,
int len)
write in interface DataOutputwrite in interface ObjectOutputwrite in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedShort(int v)
writeUnsignedShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedShort(long offset,
int v)
writeUnsignedShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactShort(int v)
writeCompactShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactUnsignedShort(int v)
writeCompactUnsignedShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt24(int v)
writeInt24 in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt24(long offset,
int v)
writeInt24 in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedInt(long v)
writeUnsignedInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeUnsignedInt(long offset,
long v)
writeUnsignedInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactInt(int v)
writeCompactInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactUnsignedInt(long v)
writeCompactUnsignedInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt48(long v)
writeInt48 in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt48(long offset,
long v)
writeInt48 in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactLong(long v)
writeCompactLong in interface net.openhft.lang.io.RandomDataOutputpublic void writeCompactDouble(double v)
writeCompactDouble in interface net.openhft.lang.io.RandomDataOutputpublic void write(@NotNull
ByteBuffer bb)
write in interface net.openhft.lang.io.RandomDataOutput@NotNull
public net.openhft.lang.io.ByteStringAppender append(@NotNull
CharSequence s)
append in interface Appendableappend in interface net.openhft.lang.io.ByteStringAppender@NotNull
public net.openhft.lang.io.ByteStringAppender append(@NotNull
CharSequence s,
int start,
int end)
append in interface Appendableappend in interface net.openhft.lang.io.ByteStringAppender@NotNull
public net.openhft.lang.io.ByteStringAppender append(@NotNull
Enum value)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender append(boolean b)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender append(char c)
append in interface Appendableappend in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender append(int num)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender append(long num)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender append(double d)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull
public net.openhft.lang.io.ByteStringAppender append(double d,
int precision)
append in interface net.openhft.lang.io.ByteStringAppender@NotNull
public net.openhft.lang.io.ByteStringAppender append(@NotNull
net.openhft.lang.io.MutableDecimal md)
append in interface net.openhft.lang.io.ByteStringAppenderpublic double parseDouble()
parseDouble in interface net.openhft.lang.io.ByteStringParserpublic long parseLong()
parseLong in interface net.openhft.lang.io.ByteStringParser@NotNull public InputStream inputStream()
inputStream in interface net.openhft.lang.io.BytesCommon@NotNull public OutputStream outputStream()
outputStream in interface net.openhft.lang.io.BytesCommonpublic <E> void writeEnum(E o)
writeEnum in interface net.openhft.lang.io.RandomDataOutputpublic <E> E readEnum(@NotNull
Class<E> aClass)
readEnum in interface net.openhft.lang.io.RandomDataInputpublic <K,V> void writeMap(@NotNull
Map<K,V> map)
writeMap in interface net.openhft.lang.io.RandomDataOutputpublic <K,V> Map<K,V> readMap(@NotNull Map<K,V> map, @NotNull Class<K> kClass, @NotNull Class<V> vClass)
readMap in interface net.openhft.lang.io.RandomDataInputpublic byte readByte()
public byte readByte(long offset)
readByte in interface net.openhft.lang.io.RandomDataInputpublic short readShort()
public short readShort(long offset)
readShort in interface net.openhft.lang.io.RandomDataInputpublic char readChar()
public char readChar(long offset)
readChar in interface net.openhft.lang.io.RandomDataInputpublic int readInt()
public int readInt(long offset)
readInt in interface net.openhft.lang.io.RandomDataInputpublic long readLong()
public long readLong(long offset)
readLong in interface net.openhft.lang.io.RandomDataInputpublic float readFloat()
public float readFloat(long offset)
readFloat in interface net.openhft.lang.io.RandomDataInputpublic double readDouble()
readDouble in interface DataInputreadDouble in interface net.openhft.lang.io.RandomDataInputpublic double readDouble(long offset)
readDouble in interface net.openhft.lang.io.RandomDataInputpublic void write(int b)
write in interface DataOutputwrite in interface ObjectOutputwrite in interface net.openhft.lang.io.RandomDataOutputpublic void writeByte(long offset,
int b)
writeByte in interface net.openhft.lang.io.RandomDataOutputpublic void writeShort(int v)
writeShort in interface DataOutputwriteShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeShort(long offset,
int v)
writeShort in interface net.openhft.lang.io.RandomDataOutputpublic void writeChar(int v)
writeChar in interface DataOutputwriteChar in interface net.openhft.lang.io.RandomDataOutputpublic void writeChar(long offset,
int v)
writeChar in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt(int v)
writeInt in interface DataOutputwriteInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeInt(long offset,
int v)
writeInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeLong(long v)
writeLong in interface DataOutputwriteLong in interface net.openhft.lang.io.RandomDataOutputpublic void writeLong(long offset,
long v)
writeLong in interface net.openhft.lang.io.RandomDataOutputpublic void writeStopBit(long n)
writeStopBit in interface net.openhft.lang.io.RandomDataOutputpublic void writeFloat(float v)
writeFloat in interface DataOutputwriteFloat in interface net.openhft.lang.io.RandomDataOutputpublic void writeFloat(long offset,
float v)
writeFloat in interface net.openhft.lang.io.RandomDataOutputpublic void writeDouble(double v)
writeDouble in interface DataOutputwriteDouble in interface net.openhft.lang.io.RandomDataOutputpublic void writeDouble(long offset,
double v)
writeDouble in interface net.openhft.lang.io.RandomDataOutput@Nullable public Object readObject()
readObject in interface ObjectInputreadObject in interface net.openhft.lang.io.RandomDataInputpublic <T> T readObject(Class<T> tClass) throws IllegalStateException
readObject in interface net.openhft.lang.io.RandomDataInputIllegalStateExceptionpublic int read()
read in interface ObjectInputread in interface net.openhft.lang.io.RandomDataInputpublic int read(@NotNull
byte[] bytes)
read in interface ObjectInputread in interface net.openhft.lang.io.RandomDataInputpublic int read(@NotNull
byte[] bytes,
int off,
int len)
read in interface ObjectInputread in interface net.openhft.lang.io.RandomDataInputpublic long skip(long n)
skip in interface ObjectInputskip in interface net.openhft.lang.io.RandomDataInputpublic int available()
available in interface ObjectInputavailable in interface net.openhft.lang.io.RandomDataInputpublic void close()
close in interface ObjectInputclose in interface ObjectOutputclose in interface AutoCloseableclose in interface net.openhft.lang.io.RandomDataInputclose in interface net.openhft.lang.io.RandomDataOutputpublic void writeObject(Object obj)
writeObject in interface ObjectOutputwriteObject in interface net.openhft.lang.io.RandomDataOutputpublic void flush()
flush in interface ObjectOutputflush in interface net.openhft.lang.io.RandomDataOutputpublic <E> void writeList(@NotNull
Collection<E> list)
writeList in interface net.openhft.lang.io.RandomDataOutputpublic <E> void readList(@NotNull
Collection<E> list,
@NotNull
Class<E> eClass)
readList in interface net.openhft.lang.io.RandomDataInputpublic long lastWrittenIndex()
lastWrittenIndex in interface ExcerptCommonpublic boolean stepBackAndSkipTo(@NotNull
net.openhft.lang.io.StopCharTester tester)
stepBackAndSkipTo in interface net.openhft.lang.io.ByteStringParserpublic boolean skipTo(@NotNull
net.openhft.lang.io.StopCharTester tester)
skipTo in interface net.openhft.lang.io.ByteStringParser@NotNull
public net.openhft.lang.io.MutableDecimal parseDecimal(@NotNull
net.openhft.lang.io.MutableDecimal decimal)
parseDecimal in interface net.openhft.lang.io.ByteStringParser@NotNull public Excerpt toStart()
ExcerptTailertoStart in interface ExcerpttoStart in interface ExcerptTailer@NotNull public WrappedExcerpt toEnd()
ExcerptTailertoEnd in interface ExcerpttoEnd in interface ExcerptAppendertoEnd in interface ExcerptCommontoEnd in interface ExcerptTailerpublic boolean isFinished()
isFinished in interface net.openhft.lang.io.BytesCommonpublic boolean wasPadding()
wasPadding in interface ExcerptCommon@NotNull public net.openhft.lang.io.ByteStringAppender appendTimeMillis(long timeInMS)
appendTimeMillis in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender appendDateMillis(long timeInMS)
appendDateMillis in interface net.openhft.lang.io.ByteStringAppender@NotNull public net.openhft.lang.io.ByteStringAppender appendDateTimeMillis(long timeInMS)
appendDateTimeMillis in interface net.openhft.lang.io.ByteStringAppender@NotNull
public <E> net.openhft.lang.io.ByteStringAppender append(@NotNull
Iterable<E> list,
@NotNull
CharSequence seperator)
append in interface net.openhft.lang.io.ByteStringAppenderpublic int readVolatileInt()
readVolatileInt in interface net.openhft.lang.io.RandomDataInputpublic int readVolatileInt(long offset)
readVolatileInt in interface net.openhft.lang.io.RandomDataInputpublic long readVolatileLong()
readVolatileLong in interface net.openhft.lang.io.RandomDataInputpublic long readVolatileLong(long offset)
readVolatileLong in interface net.openhft.lang.io.RandomDataInputpublic void writeOrderedInt(int v)
writeOrderedInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeOrderedInt(long offset,
int v)
writeOrderedInt in interface net.openhft.lang.io.RandomDataOutputpublic boolean compareAndSwapInt(long offset,
int expected,
int x)
compareAndSwapInt in interface net.openhft.lang.io.RandomDataOutputpublic int getAndAdd(long offset,
int delta)
getAndAdd in interface net.openhft.lang.io.RandomDataOutputpublic int addAndGetInt(long offset,
int delta)
addAndGetInt in interface net.openhft.lang.io.RandomDataOutputpublic void writeOrderedLong(long v)
writeOrderedLong in interface net.openhft.lang.io.RandomDataOutputpublic void writeOrderedLong(long offset,
long v)
writeOrderedLong in interface net.openhft.lang.io.RandomDataOutputpublic boolean compareAndSwapLong(long offset,
long expected,
long x)
compareAndSwapLong in interface net.openhft.lang.io.RandomDataOutputpublic void position(long position)
position in interface net.openhft.lang.io.BytesCommon@NotNull public ByteOrder byteOrder()
byteOrder in interface net.openhft.lang.io.BytesCommon@NotNull public net.openhft.lang.io.serialization.BytesMarshallerFactory bytesMarshallerFactory()
bytesMarshallerFactory in interface net.openhft.lang.io.BytesCommonpublic void checkEndOfBuffer()
throws IndexOutOfBoundsException
checkEndOfBuffer in interface net.openhft.lang.io.BytesCommonIndexOutOfBoundsExceptionpublic boolean tryLockInt(long offset)
tryLockInt in interface net.openhft.lang.io.RandomDataUpdatepublic boolean tryLockNanosInt(long offset,
long nanos)
tryLockNanosInt in interface net.openhft.lang.io.RandomDataUpdatepublic void busyLockInt(long offset)
throws InterruptedException,
IllegalStateException
busyLockInt in interface net.openhft.lang.io.RandomDataUpdateInterruptedExceptionIllegalStateExceptionpublic void unlockInt(long offset)
throws IllegalStateException
unlockInt in interface net.openhft.lang.io.RandomDataUpdateIllegalStateExceptionpublic boolean tryLockLong(long offset)
tryLockLong in interface net.openhft.lang.io.RandomDataUpdatepublic boolean tryLockNanosLong(long offset,
long nanos)
tryLockNanosLong in interface net.openhft.lang.io.RandomDataUpdatepublic void busyLockLong(long offset)
throws InterruptedException,
IllegalStateException
busyLockLong in interface net.openhft.lang.io.RandomDataUpdateInterruptedExceptionIllegalStateExceptionpublic void unlockLong(long offset)
throws IllegalStateException
unlockLong in interface net.openhft.lang.io.RandomDataUpdateIllegalStateExceptionpublic float readVolatileFloat(long offset)
readVolatileFloat in interface net.openhft.lang.io.RandomDataInputpublic double readVolatileDouble(long offset)
readVolatileDouble in interface net.openhft.lang.io.RandomDataInputpublic void writeOrderedFloat(long offset,
float v)
writeOrderedFloat in interface net.openhft.lang.io.RandomDataOutputpublic void writeOrderedDouble(long offset,
double v)
writeOrderedDouble in interface net.openhft.lang.io.RandomDataOutputpublic byte addByte(long offset,
byte b)
addByte in interface net.openhft.lang.io.RandomDataUpdatepublic int addUnsignedByte(long offset,
int i)
addUnsignedByte in interface net.openhft.lang.io.RandomDataUpdatepublic short addShort(long offset,
short s)
addShort in interface net.openhft.lang.io.RandomDataUpdatepublic int addUnsignedShort(long offset,
int i)
addUnsignedShort in interface net.openhft.lang.io.RandomDataUpdatepublic int addInt(long offset,
int i)
addInt in interface net.openhft.lang.io.RandomDataUpdatepublic long addUnsignedInt(long offset,
long i)
addUnsignedInt in interface net.openhft.lang.io.RandomDataUpdatepublic long addLong(long offset,
long i)
addLong in interface net.openhft.lang.io.RandomDataUpdatepublic float addFloat(long offset,
float f)
addFloat in interface net.openhft.lang.io.RandomDataUpdatepublic double addDouble(long offset,
double d)
addDouble in interface net.openhft.lang.io.RandomDataUpdatepublic int addAtomicInt(long offset,
int i)
addAtomicInt in interface net.openhft.lang.io.RandomDataUpdatepublic long addAtomicLong(long offset,
long l)
addAtomicLong in interface net.openhft.lang.io.RandomDataUpdatepublic float addAtomicFloat(long offset,
float f)
addAtomicFloat in interface net.openhft.lang.io.RandomDataUpdatepublic double addAtomicDouble(long offset,
double d)
addAtomicDouble in interface net.openhft.lang.io.RandomDataUpdatepublic long findMatch(@NotNull
ExcerptComparator comparator)
Excerptpublic void findRange(@NotNull
long[] startEnd,
@NotNull
ExcerptComparator comparator)
Excerpt@Deprecated public void writeStartToPosition(net.openhft.lang.io.Bytes bytes)
writeStartToPosition in interface net.openhft.lang.io.RandomDataOutput@NotNull
public net.openhft.lang.io.ByteStringAppender append(long l,
int base)
append in interface net.openhft.lang.io.ByteStringAppenderpublic long parseLong(int base)
parseLong in interface net.openhft.lang.io.ByteStringParserpublic void write(net.openhft.lang.io.BytesCommon bytes,
long position,
long length)
write in interface net.openhft.lang.io.BytesCommonpublic void readMarshallable(@NotNull
net.openhft.lang.io.Bytes in)
throws IllegalStateException
readMarshallable in interface net.openhft.lang.io.serialization.BytesMarshallableIllegalStateExceptionpublic void writeMarshallable(@NotNull
net.openhft.lang.io.Bytes out)
writeMarshallable in interface net.openhft.lang.io.serialization.BytesMarshallablepublic int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequenceCopyright © 2014. All Rights Reserved.