Beispiel #1
0
 private PingResponse getPingResponse() {
   final ClusterState clusterState = contextProvider.clusterState();
   return new PingResponse(
       clusterState.nodes().getLocalNode(), clusterState.nodes().getMasterNode(), clusterState);
 }
Beispiel #2
0
 private ClusterName getClusterName() {
   return contextProvider.clusterState().getClusterName();
 }