Class AllocationActionListener<T>

java.lang.Object
org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener<T>

public class AllocationActionListener<T> extends Object
  • Constructor Details

  • Method Details

    • rerouteCompletionIsNotRequired

      public static ActionListener<Void> rerouteCompletionIsNotRequired()
      This listener could be used when reroute completion (such as even balancing shards across the cluster) is not required for the completion of the caller operation. For example, it is required to compute the desired balance to properly allocate newly created index, but it is not when deleting one.
    • clusterStateUpdate

      public ActionListener<T> clusterStateUpdate()
    • reroute

      public ActionListener<Void> reroute()