Package org.elasticsearch.discovery.zen
Interface NodeJoinController.ElectionCallback
- Enclosing class:
- NodeJoinController
public static interface NodeJoinController.ElectionCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onElectedAsMaster(ClusterState state)
called when the local node is successfully elected as master Guaranteed to be called on the cluster state update threadvoid
called when the local node failed to be elected as master Guaranteed to be called on the cluster state update thread
-
Method Details
-
onElectedAsMaster
called when the local node is successfully elected as master Guaranteed to be called on the cluster state update thread -
onFailure
called when the local node failed to be elected as master Guaranteed to be called on the cluster state update thread
-