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