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, writeTogetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetParentTaskpublic ResyncRequest(ShardId shardId, java.lang.String allocationId)
public Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId)
TaskAwareRequestpublic java.lang.String getDescription()
TaskAwareRequestpublic java.lang.String toString()
toString in class java.lang.Objectpublic ActionRequestValidationException validate()
validate in class ActionRequest