public final class ResyncReplicationRequest extends ReplicatedWriteRequest<ResyncReplicationRequest>
TransportRequest.Empty
WriteRequest.RefreshPolicy
IndicesRequest.Replaceable
DEFAULT_TIMEOUT, index, shardId, timeout, waitForActiveShards
Constructor and Description |
---|
ResyncReplicationRequest(ShardId shardId,
Translog.Operation[] operations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Translog.Operation[] |
getOperations() |
int |
hashCode() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getRefreshPolicy, setRefreshPolicy
createTask, getDescription, index, index, indices, indicesOptions, onRetry, setShardId, shardId, timeout, timeout, timeout, validate, waitForActiveShards, waitForActiveShards, waitForActiveShards
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setRefreshPolicy, validate
setParentTask
public ResyncReplicationRequest(ShardId shardId, Translog.Operation[] operations)
public Translog.Operation[] getOperations()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ReplicatedWriteRequest<ResyncReplicationRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ReplicatedWriteRequest<ResyncReplicationRequest>
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class ReplicationRequest<ResyncReplicationRequest>