public final class LocalExcept<T,M> extends Object implements QueueView.Excerpt<T,M>, net.openhft.chronicle.wire.Marshallable, Map.Entry<T,M>
Constructor and Description |
---|
LocalExcept() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets this Excerpt by clearing its internal state.
|
T |
getKey() |
M |
getValue() |
long |
index()
Returns the unique index for this Excerpt.
|
@NotNull LocalExcept<T,M> |
index(long index) |
M |
message()
Returns the message for this Excerpt.
|
void |
readMarshallable(@NotNull net.openhft.chronicle.wire.WireIn wireIn) |
M |
setValue(M value) |
T |
topic()
Returns the topic for this Excerpt.
|
@NotNull String |
toString() |
void |
writeMarshallable(@NotNull net.openhft.chronicle.wire.WireOut wireOut) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, fromString, fromString, getField, getLongField, mergeToMap, reset, setField, setLongField, streamFromFile, streamFromFile
usesSelfDescribingMessage
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
@Nullable public T topic()
QueueView.Excerpt
topic
in interface QueueView.Excerpt<T,M>
@Nullable public M message()
QueueView.Excerpt
message
in interface QueueView.Excerpt<T,M>
public long index()
QueueView.Excerpt
The index can be seen as a sort of "address" for the Excerpt. An index from a previous Excerpt is strictly less than an index from a later Excerpt.
index
in interface QueueView.Excerpt<T,M>
@NotNull public @NotNull LocalExcept<T,M> index(long index)
public void writeMarshallable(@NotNull @NotNull net.openhft.chronicle.wire.WireOut wireOut)
writeMarshallable
in interface net.openhft.chronicle.wire.Marshallable
writeMarshallable
in interface net.openhft.chronicle.wire.WriteMarshallable
public void readMarshallable(@NotNull @NotNull net.openhft.chronicle.wire.WireIn wireIn)
readMarshallable
in interface net.openhft.chronicle.wire.Marshallable
readMarshallable
in interface net.openhft.chronicle.wire.ReadMarshallable
public void clear()
QueueView.Excerpt
clear
in interface QueueView.Excerpt<T,M>
Copyright © 2021. All rights reserved.