Package org.elasticsearch.index.seqno
Class ReplicationTracker.CheckpointState
java.lang.Object
org.elasticsearch.index.seqno.ReplicationTracker.CheckpointState
- All Implemented Interfaces:
Writeable
- Enclosing class:
- ReplicationTracker
public static class ReplicationTracker.CheckpointState extends java.lang.Object implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description CheckpointState(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked)
CheckpointState(StreamInput in)
-
Method Summary
Modifier and Type Method Description ReplicationTracker.CheckpointState
copy()
Returns a full copy of this objectboolean
equals(java.lang.Object o)
long
getGlobalCheckpoint()
long
getLocalCheckpoint()
int
hashCode()
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CheckpointState
public CheckpointState(long localCheckpoint, long globalCheckpoint, boolean inSync, boolean tracked) -
CheckpointState
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
copy
Returns a full copy of this object -
getLocalCheckpoint
public long getLocalCheckpoint() -
getGlobalCheckpoint
public long getGlobalCheckpoint() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-