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.IOExceptionpublic long clusterStateVersion()
public java.util.Map<java.lang.String,GlobalCheckpointTracker.CheckpointState> getCheckpointStates()
public IndexShardRoutingTable getRoutingTable()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object