Package org.elasticsearch.discovery.zen
Interface NodeJoinController.ElectionCallback
- Enclosing class:
- NodeJoinController
public static interface NodeJoinController.ElectionCallback
-
Method Summary
Modifier and Type Method Description void
onElectedAsMaster(ClusterState state)
called when the local node is successfully elected as master Guaranteed to be called on the cluster state update threadvoid
onFailure(java.lang.Throwable t)
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
void onFailure(java.lang.Throwable t)called when the local node failed to be elected as master Guaranteed to be called on the cluster state update thread
-