IndicesRequest
, WriteRequest<ResyncReplicationRequest>
, Streamable
, Writeable
, TaskAwareRequest
public final class ResyncReplicationRequest extends ReplicatedWriteRequest<ResyncReplicationRequest>
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
WriteRequest.RefreshPolicy
DEFAULT_TIMEOUT, index, shardId, timeout, waitForActiveShards
Constructor | Description |
---|---|
ResyncReplicationRequest(ShardId shardId,
Translog.Operation[] operations) |
Modifier and Type | Method | 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.
|
getShouldStoreResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRefreshPolicy, setRefreshPolicy
createTask, getDescription, index, index, indices, indicesOptions, onRetry, setShardId, shardId, timeout, timeout, timeout, validate, waitForActiveShards, waitForActiveShards, waitForActiveShards
setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
setRefreshPolicy, validate
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 interface Writeable
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>