public class InternalTransportClusterAdminClient extends AbstractClusterAdminClient implements ClusterAdminClient
| Constructor and Description |
|---|
InternalTransportClusterAdminClient(Settings settings,
TransportClientNodesService nodesService,
ThreadPool threadPool,
TransportService transportService,
Map<String,GenericAction> actions,
Headers headers) |
| Modifier and Type | Method and Description |
|---|---|
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder,ClusterAdminClient>> |
execute(Action<Request,Response,RequestBuilder,ClusterAdminClient> action,
Request request)
Executes a generic action, denoted by an
Action. |
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder,ClusterAdminClient>> |
execute(Action<Request,Response,RequestBuilder,ClusterAdminClient> action,
Request request,
ActionListener<Response> listener)
Executes a generic action, denoted by an
Action. |
ThreadPool |
threadPool()
Returns the threadpool used to execute requests on this client
|
clusterStats, clusterStats, createSnapshot, createSnapshot, deleteRepository, deleteRepository, deleteSnapshot, deleteSnapshot, getRepositories, getRepositories, getSnapshots, getSnapshots, health, health, nodesHotThreads, nodesHotThreads, nodesInfo, nodesInfo, nodesRestart, nodesRestart, nodesShutdown, nodesShutdown, nodesStats, nodesStats, pendingClusterTasks, pendingClusterTasks, prepareClusterStats, prepareCreateSnapshot, prepareDeleteRepository, prepareDeleteSnapshot, prepareExecute, prepareGetRepositories, prepareGetSnapshots, prepareHealth, prepareNodesHotThreads, prepareNodesInfo, prepareNodesRestart, prepareNodesShutdown, prepareNodesStats, preparePendingClusterTasks, preparePutRepository, prepareReroute, prepareRestoreSnapshot, prepareSearchShards, prepareSearchShards, prepareSnapshotStatus, prepareSnapshotStatus, prepareState, prepareUpdateSettings, prepareVerifyRepository, putRepository, putRepository, reroute, reroute, restoreSnapshot, restoreSnapshot, searchShards, searchShards, snapshotsStatus, snapshotsStatus, state, state, updateSettings, updateSettings, verifyRepository, verifyRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclusterStats, clusterStats, createSnapshot, createSnapshot, deleteRepository, deleteRepository, deleteSnapshot, deleteSnapshot, getRepositories, getRepositories, getSnapshots, getSnapshots, health, health, nodesHotThreads, nodesHotThreads, nodesInfo, nodesInfo, nodesRestart, nodesRestart, nodesShutdown, nodesShutdown, nodesStats, nodesStats, pendingClusterTasks, pendingClusterTasks, prepareClusterStats, prepareCreateSnapshot, prepareDeleteRepository, prepareDeleteSnapshot, prepareGetRepositories, prepareGetSnapshots, prepareHealth, prepareNodesHotThreads, prepareNodesInfo, prepareNodesRestart, prepareNodesShutdown, prepareNodesStats, preparePendingClusterTasks, preparePutRepository, prepareReroute, prepareRestoreSnapshot, prepareSearchShards, prepareSearchShards, prepareSnapshotStatus, prepareSnapshotStatus, prepareState, prepareUpdateSettings, prepareVerifyRepository, putRepository, putRepository, reroute, reroute, restoreSnapshot, restoreSnapshot, searchShards, searchShards, snapshotsStatus, snapshotsStatus, state, state, updateSettings, updateSettings, verifyRepository, verifyRepositoryprepareExecute@Inject public InternalTransportClusterAdminClient(Settings settings, TransportClientNodesService nodesService, ThreadPool threadPool, TransportService transportService, Map<String,GenericAction> actions, Headers headers)
public ThreadPool threadPool()
ElasticsearchClientthreadPool in interface ElasticsearchClient<ClusterAdminClient>public <Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder,ClusterAdminClient>> ActionFuture<Response> execute(Action<Request,Response,RequestBuilder,ClusterAdminClient> action, Request request)
ElasticsearchClientAction.execute in interface ElasticsearchClient<ClusterAdminClient>Request - The request type.Response - the response type.RequestBuilder - The request builder type.action - The action type to execute.request - The action request.public <Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder,ClusterAdminClient>> void execute(Action<Request,Response,RequestBuilder,ClusterAdminClient> action, Request request, ActionListener<Response> listener)
ElasticsearchClientAction.execute in interface ElasticsearchClient<ClusterAdminClient>Request - The request type.Response - The response type.RequestBuilder - The request builder type.action - The action type to execute.request - The action request.listener - The listener to receive the response back.Copyright © 2009–2016. All rights reserved.