public interface MessageHistory extends Marshallable
EMPTYDISCARD| Modifier and Type | Method and Description |
|---|---|
static MessageHistory |
get()
Get the MessageHistory to update it or read it.
|
int |
lastSourceId() |
long |
lastSourceIndex() |
void |
reset()
clear all data
|
void |
reset(int sourceId,
long sourceIndex)
reset for a given source prior to reading a new message in
|
static void |
set(MessageHistory md)
You only need to call this if you wish to override it's behaviour.
|
int |
sourceId(int n) |
boolean |
sourceIdsEndsWith(int[] sourceIds) |
long |
sourceIndex(int n) |
int |
sources() |
long |
timing(int n) |
int |
timings() |
$equals, $fieldInfos, $hashCode, $toString, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, fromString, fromString, getClassName, getField, mergeToMap, readMarshallable, setField, streamFromFile, streamFromFile, writeMarshallablewriteValueunexpectedFieldstatic MessageHistory get()
static void set(MessageHistory md)
md - to change to the default implementation for this thread.int timings()
long timing(int n)
int sources()
int sourceId(int n)
boolean sourceIdsEndsWith(int[] sourceIds)
long sourceIndex(int n)
void reset()
reset in interface Marshallablereset in interface net.openhft.chronicle.core.io.Resettablevoid reset(int sourceId,
long sourceIndex)
int lastSourceId()
long lastSourceIndex()
Copyright © 2019. All rights reserved.