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()
      Returns a no-op listener for callers that do not need to wait for reroute to finish (e.g. shard rebalancing across the cluster) before completing their own operation. For example, waiting for reroute is needed to allocate shards for a newly created index, but not when deleting one.
    • clusterStateUpdate

      public ActionListener<T> clusterStateUpdate()
    • reroute

      public ActionListener<Void> reroute()