public class SeqNoStats extends java.lang.Object implements ToXContentFragment, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor and Description |
|---|
SeqNoStats(long maxSeqNo,
long localCheckpoint,
long globalCheckpoint) |
SeqNoStats(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
long |
getGlobalCheckpoint() |
long |
getLocalCheckpoint()
the maximum sequence number for which all previous operations (including) have been completed
|
long |
getMaxSeqNo()
the maximum sequence number seen so far
|
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFragmentpublic SeqNoStats(long maxSeqNo,
long localCheckpoint,
long globalCheckpoint)
public SeqNoStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic long getMaxSeqNo()
public long getLocalCheckpoint()
public long getGlobalCheckpoint()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object