Package org.elasticsearch.index.seqno
Class ReplicationTracker.CheckpointState
java.lang.Object
org.elasticsearch.index.seqno.ReplicationTracker.CheckpointState
- All Implemented Interfaces:
Writeable
- Enclosing class:
- ReplicationTracker
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionCheckpointState
(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a full copy of this objectboolean
long
long
int
hashCode()
toString()
void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
CheckpointState
public CheckpointState(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked) -
CheckpointState
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
copy
Returns a full copy of this object -
getLocalCheckpoint
public long getLocalCheckpoint() -
getGlobalCheckpoint
public long getGlobalCheckpoint() -
toString
-
equals
-
hashCode
public int hashCode()
-