public static class GlobalCheckpointTracker.PrimaryContext extends java.lang.Object implements Writeable
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
PrimaryContext(long clusterStateVersion,
java.util.Map<java.lang.String,GlobalCheckpointTracker.CheckpointState> checkpoints,
IndexShardRoutingTable routingTable) |
PrimaryContext(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
long |
clusterStateVersion() |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,GlobalCheckpointTracker.CheckpointState> |
getCheckpointStates() |
IndexShardRoutingTable |
getRoutingTable() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public PrimaryContext(long clusterStateVersion, java.util.Map<java.lang.String,GlobalCheckpointTracker.CheckpointState> checkpoints, IndexShardRoutingTable routingTable)
public PrimaryContext(StreamInput in) throws java.io.IOException
java.io.IOException
public long clusterStateVersion()
public java.util.Map<java.lang.String,GlobalCheckpointTracker.CheckpointState> getCheckpointStates()
public IndexShardRoutingTable getRoutingTable()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object