|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.client.support.AbstractClusterAdminClient
org.elasticsearch.client.node.NodeClusterAdminClient
public class NodeClusterAdminClient
Constructor Summary | |
---|---|
NodeClusterAdminClient(Settings settings,
ThreadPool threadPool,
TransportClusterHealthAction clusterHealthAction,
TransportClusterStateAction clusterStateAction,
TransportSinglePingAction singlePingAction,
TransportBroadcastPingAction broadcastPingAction,
TransportReplicationPingAction replicationPingAction,
TransportNodesInfoAction nodesInfoAction,
TransportNodesShutdownAction nodesShutdown,
TransportNodesRestartAction nodesRestart,
TransportNodesStatsAction nodesStatsAction)
|
Methods inherited from class org.elasticsearch.client.support.AbstractClusterAdminClient |
---|
prepareHealth, prepareNodesInfo, prepareNodesRestart, prepareNodesShutdown, prepareNodesStats, preparePingBroadcast, preparePingReplication, preparePingSingle, preparePingSingle, prepareState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.elasticsearch.client.ClusterAdminClient |
---|
prepareHealth, prepareNodesInfo, prepareNodesRestart, prepareNodesShutdown, prepareNodesStats, preparePingBroadcast, preparePingReplication, preparePingSingle, preparePingSingle, prepareState |
Constructor Detail |
---|
@Inject public NodeClusterAdminClient(Settings settings, ThreadPool threadPool, TransportClusterHealthAction clusterHealthAction, TransportClusterStateAction clusterStateAction, TransportSinglePingAction singlePingAction, TransportBroadcastPingAction broadcastPingAction, TransportReplicationPingAction replicationPingAction, TransportNodesInfoAction nodesInfoAction, TransportNodesShutdownAction nodesShutdown, TransportNodesRestartAction nodesRestart, TransportNodesStatsAction nodesStatsAction)
Method Detail |
---|
public ThreadPool threadPool()
threadPool
in interface InternalClusterAdminClient
public ActionFuture<ClusterHealthResponse> health(ClusterHealthRequest request)
ClusterAdminClient
health
in interface ClusterAdminClient
request
- The cluster state request
Requests.clusterHealthRequest(String...)
public void health(ClusterHealthRequest request, ActionListener<ClusterHealthResponse> listener)
ClusterAdminClient
health
in interface ClusterAdminClient
request
- The cluster state requestlistener
- A listener to be notified with a resultRequests.clusterHealthRequest(String...)
public ActionFuture<ClusterStateResponse> state(ClusterStateRequest request)
ClusterAdminClient
state
in interface ClusterAdminClient
request
- The cluster state request.
Requests.clusterStateRequest()
public void state(ClusterStateRequest request, ActionListener<ClusterStateResponse> listener)
ClusterAdminClient
state
in interface ClusterAdminClient
request
- The cluster state request.listener
- A listener to be notified with a resultRequests.clusterStateRequest()
public ActionFuture<SinglePingResponse> ping(SinglePingRequest request)
ping
in interface ClusterAdminClient
public void ping(SinglePingRequest request, ActionListener<SinglePingResponse> listener)
ping
in interface ClusterAdminClient
public ActionFuture<BroadcastPingResponse> ping(BroadcastPingRequest request)
ping
in interface ClusterAdminClient
public void ping(BroadcastPingRequest request, ActionListener<BroadcastPingResponse> listener)
ping
in interface ClusterAdminClient
public ActionFuture<ReplicationPingResponse> ping(ReplicationPingRequest request)
ping
in interface ClusterAdminClient
public void ping(ReplicationPingRequest request, ActionListener<ReplicationPingResponse> listener)
ping
in interface ClusterAdminClient
public ActionFuture<NodesInfoResponse> nodesInfo(NodesInfoRequest request)
ClusterAdminClient
nodesInfo
in interface ClusterAdminClient
request
- The nodes info request
Requests.nodesInfoRequest(String...)
public void nodesInfo(NodesInfoRequest request, ActionListener<NodesInfoResponse> listener)
ClusterAdminClient
nodesInfo
in interface ClusterAdminClient
request
- The nodes info requestlistener
- A listener to be notified with a resultRequests.nodesInfoRequest(String...)
public ActionFuture<NodesStatsResponse> nodesStats(NodesStatsRequest request)
ClusterAdminClient
nodesStats
in interface ClusterAdminClient
request
- The nodes info request
Requests.nodesStatsRequest(String...)
public void nodesStats(NodesStatsRequest request, ActionListener<NodesStatsResponse> listener)
ClusterAdminClient
nodesStats
in interface ClusterAdminClient
request
- The nodes info requestlistener
- A listener to be notified with a resultRequests.nodesStatsRequest(String...)
public ActionFuture<NodesShutdownResponse> nodesShutdown(NodesShutdownRequest request)
ClusterAdminClient
nodesShutdown
in interface ClusterAdminClient
request
- The nodes shutdown request
Requests.nodesShutdownRequest(String...)
public void nodesShutdown(NodesShutdownRequest request, ActionListener<NodesShutdownResponse> listener)
ClusterAdminClient
nodesShutdown
in interface ClusterAdminClient
request
- The nodes shutdown requestlistener
- A listener to be notified with a resultRequests.nodesShutdownRequest(String...)
public ActionFuture<NodesRestartResponse> nodesRestart(NodesRestartRequest request)
ClusterAdminClient
nodesRestart
in interface ClusterAdminClient
request
- The nodes restart request
Requests.nodesRestartRequest(String...)
public void nodesRestart(NodesRestartRequest request, ActionListener<NodesRestartResponse> listener)
ClusterAdminClient
nodesRestart
in interface ClusterAdminClient
request
- The nodes restart requestlistener
- A listener to be notified with a resultRequests.nodesRestartRequest(String...)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |