public static interface NodeJoinController.ElectionCallback
Modifier and Type | Method and 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(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(Throwable t)
Copyright © 2009–2017. All rights reserved.