public static interface NodeJoinController.ElectionCallback
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 thread
|
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
|
void onElectedAsMaster(ClusterState state)
void onFailure(java.lang.Throwable t)