Interface RerouteService

  • All Known Implementing Classes:
    BatchedRerouteService, LazilyInitializedRerouteService
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RerouteService
    Asynchronously performs a cluster reroute, updating any shard states and rebalancing the cluster if appropriate.
    • Method Summary

      Modifier and Type Method Description
      void reroute​(java.lang.String reason, ActionListener<java.lang.Void> listener)  
    • Method Detail

      • reroute

        void reroute​(java.lang.String reason,
                     ActionListener<java.lang.Void> listener)