Module org.elasticsearch.server
Class AllocationActionListener<T>
java.lang.Object
org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreroute()
static ActionListener<Void>
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.
-
Constructor Details
-
AllocationActionListener
-
-
Method Details
-
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
-
reroute
-