Package org.opensearch.index.seqno
Class ReplicationTracker.CheckpointState
java.lang.Object
org.opensearch.index.seqno.ReplicationTracker.CheckpointState
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
- Enclosing class:
ReplicationTracker
@PublicApi(since="1.0.0")
public static class ReplicationTracker.CheckpointState
extends Object
implements org.opensearch.core.common.io.stream.Writeable
The state of the lucene checkpoint
- Opensearch.api:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorsConstructorDescriptionCheckpointState
(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked, boolean replicated) CheckpointState
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
-
Constructor Details
-
CheckpointState
public CheckpointState(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked, boolean replicated) -
CheckpointState
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
copy
Returns a full copy of this object -
getLocalCheckpoint
public long getLocalCheckpoint() -
getGlobalCheckpoint
public long getGlobalCheckpoint() -
toString
-
equals
-
hashCode
public int hashCode()
-