Interface PublishClusterStateAction.IncomingClusterStateListener

All Known Implementing Classes:
ZenDiscovery
Enclosing class:
PublishClusterStateAction

public static interface PublishClusterStateAction.IncomingClusterStateListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     stateUUID, > processedListener)
    called when a cluster state has been committed and is ready to be processed
    void
    called when a new incoming cluster state has been received.
  • 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( stateUUID, > processedListener)
      called when a cluster state has been committed and is ready to be processed