Package org.elasticsearch.index.shard
Class PrimaryReplicaSyncer.ResyncRequest
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.index.shard.PrimaryReplicaSyncer.ResyncRequest
- All Implemented Interfaces:
Writeable
,org.elasticsearch.core.RefCounted
,TaskAwareRequest
- Enclosing class:
- PrimaryReplicaSyncer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateTask(long id, type, action, TaskId parentTaskId, <,> headers)
Returns the task object that should be used to keep track of the processing of the request.Returns optional description of the request to be displayed by the task managertoString()
validate()
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeTo
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.
, , , , , , , , ,
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
setParentTask
-
Constructor Details
-
ResyncRequest
-
-
Method Details
-
createTask
Description copied from interface:TaskAwareRequest
Returns the task object that should be used to keep track of the processing of the request. -
getDescription
public getDescription()Description copied from interface:TaskAwareRequest
Returns optional description of the request to be displayed by the task manager -
toString
public toString()- Overrides:
toString
in classTransportRequest
-
validate
- Specified by:
validate
in classActionRequest
-