Streamable, Writeable, TaskAwareRequestpublic static class PrimaryReplicaSyncer.ResyncRequest extends ActionRequest
TransportRequest.EmptyWriteable.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, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewWriteableReadersetParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic 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)
TaskAwareRequestpublic java.lang.String getDescription()
TaskAwareRequestpublic java.lang.String toString()
toString in class java.lang.Objectpublic ActionRequestValidationException validate()
validate in class ActionRequest