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