Class PrimaryReplicaSyncer.ResyncRequest

java.lang.Object
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest
Enclosing class:
PrimaryReplicaSyncer

public static class PrimaryReplicaSyncer.ResyncRequest
extends ActionRequest
  • Constructor Details

    • ResyncRequest

      public ResyncRequest​(ShardId shardId, java.lang.String allocationId)
  • Method Details

    • createTask

      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)
      Description copied from interface: TaskAwareRequest
      Returns the task object that should be used to keep track of the processing of the request.
    • getDescription

      public java.lang.String getDescription()
      Description copied from interface: TaskAwareRequest
      Returns optional description of the request to be displayed by the task manager
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • validate

      Specified by:
      validate in class ActionRequest