org.elasticsearch.client
Interface ClusterAdminClient

All Known Implementing Classes:
InternalTransportClusterAdminClient, NodeClusterAdminClient

public interface ClusterAdminClient

Administrative actions/operations against indices.

See Also:
AdminClient.cluster()

Method Summary
 ActionFuture<ClusterHealthResponse> health(ClusterHealthRequest request)
          The health of the cluster.
 void health(ClusterHealthRequest request, ActionListener<ClusterHealthResponse> listener)
          The health of the cluster.
 ActionFuture<NodesInfoResponse> nodesInfo(NodesInfoRequest request)
          Nodes info of the cluster.
 void nodesInfo(NodesInfoRequest request, ActionListener<NodesInfoResponse> listener)
          Nodes info of the cluster.
 ActionFuture<NodesShutdownResponse> nodesShutdown(NodesShutdownRequest request)
          Shutdown nodes in the cluster.
 void nodesShutdown(NodesShutdownRequest request, ActionListener<NodesShutdownResponse> listener)
          Shutdown nodes in the cluster.
 ActionFuture<BroadcastPingResponse> ping(BroadcastPingRequest request)
           
 void ping(BroadcastPingRequest request, ActionListener<BroadcastPingResponse> listener)
           
 ActionFuture<ReplicationPingResponse> ping(ReplicationPingRequest request)
           
 void ping(ReplicationPingRequest request, ActionListener<ReplicationPingResponse> listener)
           
 ActionFuture<SinglePingResponse> ping(SinglePingRequest request)
           
 void ping(SinglePingRequest request, ActionListener<SinglePingResponse> listener)
           
 ActionFuture<ClusterStateResponse> state(ClusterStateRequest request)
          The state of the cluster.
 void state(ClusterStateRequest request, ActionListener<ClusterStateResponse> listener)
          The state of the cluster.
 

Method Detail

health

ActionFuture<ClusterHealthResponse> health(ClusterHealthRequest request)
The health of the cluster.

Parameters:
request - The cluster state request
Returns:
The result future
See Also:
Requests.clusterHealth(String...)

health

void health(ClusterHealthRequest request,
            ActionListener<ClusterHealthResponse> listener)
The health of the cluster.

Parameters:
request - The cluster state request
listener - A listener to be notified with a result
See Also:
Requests.clusterHealth(String...)

state

ActionFuture<ClusterStateResponse> state(ClusterStateRequest request)
The state of the cluster.

Parameters:
request - The cluster state request.
Returns:
The result future
See Also:
Requests.clusterState()

state

void state(ClusterStateRequest request,
           ActionListener<ClusterStateResponse> listener)
The state of the cluster.

Parameters:
request - The cluster state request.
listener - A listener to be notified with a result
See Also:
Requests.clusterState()

nodesInfo

ActionFuture<NodesInfoResponse> nodesInfo(NodesInfoRequest request)
Nodes info of the cluster.

Parameters:
request - The nodes info request
Returns:
The result future
See Also:
Requests.nodesInfo(String...)

nodesInfo

void nodesInfo(NodesInfoRequest request,
               ActionListener<NodesInfoResponse> listener)
Nodes info of the cluster.

Parameters:
request - The nodes info request
listener - A listener to be notified with a result
See Also:
Requests.nodesInfo(String...)

nodesShutdown

ActionFuture<NodesShutdownResponse> nodesShutdown(NodesShutdownRequest request)
Shutdown nodes in the cluster.

Parameters:
request - The nodes shutdown request
Returns:
The result future
See Also:
Requests.nodesShutdown(String...)

nodesShutdown

void nodesShutdown(NodesShutdownRequest request,
                   ActionListener<NodesShutdownResponse> listener)
Shutdown nodes in the cluster.

Parameters:
request - The nodes shutdown request
listener - A listener to be notified with a result
See Also:
Requests.nodesShutdown(String...)

ping

ActionFuture<SinglePingResponse> ping(SinglePingRequest request)

ping

void ping(SinglePingRequest request,
          ActionListener<SinglePingResponse> listener)

ping

ActionFuture<BroadcastPingResponse> ping(BroadcastPingRequest request)

ping

void ping(BroadcastPingRequest request,
          ActionListener<BroadcastPingResponse> listener)

ping

ActionFuture<ReplicationPingResponse> ping(ReplicationPingRequest request)

ping

void ping(ReplicationPingRequest request,
          ActionListener<ReplicationPingResponse> listener)