public static class PrimaryReplicaSyncer.ResyncRequest extends ActionRequest
TransportRequest.Empty
Constructor and Description |
---|
ResyncRequest(ShardId shardId,
java.lang.String allocationId) |
Modifier and Type | Method and Description |
---|---|
Task |
createTask(long id,
java.lang.String type,
java.lang.String action,
TaskId parentTaskId)
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
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setParentTask
public ResyncRequest(ShardId shardId, java.lang.String allocationId)
public Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId)
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