Streamable
, Writeable
, TaskAwareRequest
public static class PrimaryReplicaSyncer.ResyncRequest extends ActionRequest
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
ResyncRequest(ShardId shardId,
java.lang.String allocationId) |
Modifier and Type | Method | Description |
---|---|---|
Task |
createTask(long id,
java.lang.String type,
java.lang.String action,
TaskId parentTaskId,
java.util.Map<java.lang.String,java.lang.String> headers) |
Returns the task object that should be used to keep track of the processing of the request.
|
java.lang.String |
getDescription() |
Returns optional description of the request to be displayed by the task manager
|
java.lang.String |
toString() |
|
ActionRequestValidationException |
validate() |
getShouldStoreResult, readFrom, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public ResyncRequest(ShardId shardId, java.lang.String allocationId)
public Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId, java.util.Map<java.lang.String,java.lang.String> headers)
TaskAwareRequest
public java.lang.String getDescription()
TaskAwareRequest
public java.lang.String toString()
toString
in class java.lang.Object
public ActionRequestValidationException validate()
validate
in class ActionRequest