public enum NoMessageHistory extends Enum<NoMessageHistory> implements net.openhft.chronicle.wire.MessageHistory
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
lastSourceId() |
long |
lastSourceIndex() |
void |
reset() |
void |
reset(int sourceId,
long sourceIndex) |
int |
sourceId(int n) |
boolean |
sourceIdsEndsWith(int[] sourceIds) |
long |
sourceIndex(int n) |
int |
sources() |
long |
timing(int n) |
int |
timings() |
static NoMessageHistory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoMessageHistory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, setField, setLongField, streamFromFile, streamFromFile, usesSelfDescribingMessage, writeMarshallable
public static final NoMessageHistory INSTANCE
public static NoMessageHistory[] values()
for (NoMessageHistory c : NoMessageHistory.values()) System.out.println(c);
public static NoMessageHistory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int timings()
timings
in interface net.openhft.chronicle.wire.MessageHistory
public long timing(int n)
timing
in interface net.openhft.chronicle.wire.MessageHistory
public int sources()
sources
in interface net.openhft.chronicle.wire.MessageHistory
public int sourceId(int n)
sourceId
in interface net.openhft.chronicle.wire.MessageHistory
public boolean sourceIdsEndsWith(int[] sourceIds)
sourceIdsEndsWith
in interface net.openhft.chronicle.wire.MessageHistory
public long sourceIndex(int n)
sourceIndex
in interface net.openhft.chronicle.wire.MessageHistory
public void reset(int sourceId, long sourceIndex)
reset
in interface net.openhft.chronicle.wire.MessageHistory
public void reset()
reset
in interface net.openhft.chronicle.core.io.Resettable
reset
in interface net.openhft.chronicle.wire.Marshallable
reset
in interface net.openhft.chronicle.wire.MessageHistory
public int lastSourceId()
lastSourceId
in interface net.openhft.chronicle.wire.MessageHistory
public long lastSourceIndex()
lastSourceIndex
in interface net.openhft.chronicle.wire.MessageHistory
Copyright © 2020. All rights reserved.