Interface PublishClusterStateAction.IncomingClusterStateListener

All Known Implementing Classes:
Enclosing class:

public static interface PublishClusterStateAction.IncomingClusterStateListener
  • Method Details

    • onIncomingClusterState

      void onIncomingClusterState(ClusterState incomingState)
      called when a new incoming cluster state has been received. Should validate the incoming state and throw an exception if it's not a valid successor state.
    • onClusterStateCommitted

      void onClusterStateCommitted(String stateUUID, ActionListener<Void> processedListener)
      called when a cluster state has been committed and is ready to be processed