Package org.elasticsearch.discovery.zen
Interface PublishClusterStateAction.IncomingClusterStateListener
- All Known Implementing Classes:
ZenDiscovery
- Enclosing class:
- PublishClusterStateAction
public static interface PublishClusterStateAction.IncomingClusterStateListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClusterStateCommitted(String stateUUID, ActionListener<Void> processedListener)
called when a cluster state has been committed and is ready to be processedvoid
onIncomingClusterState(ClusterState incomingState)
called when a new incoming cluster state has been received.
-
Method Details
-
onIncomingClusterState
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
called when a cluster state has been committed and is ready to be processed
-