Writeable
public static class ReplicationTracker.PrimaryContext extends java.lang.Object implements Writeable
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
PrimaryContext(long clusterStateVersion,
java.util.Map<java.lang.String,ReplicationTracker.CheckpointState> checkpoints,
IndexShardRoutingTable routingTable) |
|
PrimaryContext(StreamInput in) |
Modifier and Type | Method | Description |
---|---|---|
long |
clusterStateVersion() |
|
boolean |
equals(java.lang.Object o) |
|
java.util.Map<java.lang.String,ReplicationTracker.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,ReplicationTracker.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,ReplicationTracker.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