public class VanillaMessageHistory extends AbstractMarshallable implements MessageHistory
| Modifier and Type | Field and Description |
|---|---|
static int |
MESSAGE_HISTORY_LENGTH |
EMPTYDISCARD| Constructor and Description |
|---|
VanillaMessageHistory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSourceDetails(boolean addSourceDetails) |
void |
addTiming(long l) |
void |
readMarshallable(WireIn wire)
Straight line ordered decoding.
|
void |
reset() |
int |
sourceId(int n) |
long |
sourceIndex(int n) |
int |
sources() |
long |
timing(int n) |
int |
timings() |
void |
writeMarshallable(WireOut wire)
Write data to the wire
|
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitget, set$equals, $fieldInfos, $hashCode, $toString, copyFrom, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, getField, mergeToMap, setFieldwriteValuepublic static final int MESSAGE_HISTORY_LENGTH
public void addSourceDetails(boolean addSourceDetails)
public void reset()
reset in interface MessageHistorypublic int timings()
timings in interface MessageHistorypublic long timing(int n)
timing in interface MessageHistorypublic int sources()
sources in interface MessageHistorypublic int sourceId(int n)
sourceId in interface MessageHistorypublic long sourceIndex(int n)
sourceIndex in interface MessageHistorypublic void readMarshallable(@NotNull
WireIn wire)
throws net.openhft.chronicle.core.io.IORuntimeException
ReadMarshallablereadMarshallable in interface MarshallablereadMarshallable in interface ReadMarshallablewire - to read from in an ordered manner.net.openhft.chronicle.core.io.IORuntimeException - the stream wasn't ordered or formatted as expected.public void addTiming(long l)
public void writeMarshallable(@NotNull
WireOut wire)
WriteMarshallablewriteMarshallable in interface MarshallablewriteMarshallable in interface WriteMarshallablewire - to write to.Copyright © 2017. All rights reserved.