All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type |
Method and Description |
ActionFuture<ClusterAllocationExplainResponse> |
allocationExplain(ClusterAllocationExplainRequest request)
Explain the allocation of a shard
|
void |
allocationExplain(ClusterAllocationExplainRequest request,
ActionListener<ClusterAllocationExplainResponse> listener)
Explain the allocation of a shard
|
ActionFuture<CancelTasksResponse> |
cancelTasks(CancelTasksRequest request)
Cancel tasks
|
void |
cancelTasks(CancelTasksRequest request,
ActionListener<CancelTasksResponse> listener)
Cancel active tasks
|
ActionFuture<ClusterStatsResponse> |
clusterStats(ClusterStatsRequest request)
Cluster wide aggregated stats.
|
void |
clusterStats(ClusterStatsRequest request,
ActionListener<ClusterStatsResponse> listener)
Cluster wide aggregated stats
|
ActionFuture<CreateSnapshotResponse> |
createSnapshot(CreateSnapshotRequest request)
Creates a new snapshot.
|
void |
createSnapshot(CreateSnapshotRequest request,
ActionListener<CreateSnapshotResponse> listener)
Creates a new snapshot.
|
ActionFuture<WritePipelineResponse> |
deletePipeline(DeletePipelineRequest request)
Deletes a stored ingest pipeline
|
void |
deletePipeline(DeletePipelineRequest request,
ActionListener<WritePipelineResponse> listener)
Deletes a stored ingest pipeline
|
ActionFuture<DeleteRepositoryResponse> |
deleteRepository(DeleteRepositoryRequest request)
Unregisters a repository.
|
void |
deleteRepository(DeleteRepositoryRequest request,
ActionListener<DeleteRepositoryResponse> listener)
Unregisters a repository.
|
ActionFuture<DeleteSnapshotResponse> |
deleteSnapshot(DeleteSnapshotRequest request)
Delete snapshot.
|
void |
deleteSnapshot(DeleteSnapshotRequest request,
ActionListener<DeleteSnapshotResponse> listener)
Delete snapshot.
|
ActionFuture<DeleteStoredScriptResponse> |
deleteStoredScript(DeleteStoredScriptRequest request)
Delete a script from the cluster state
|
void |
deleteStoredScript(DeleteStoredScriptRequest request,
ActionListener<DeleteStoredScriptResponse> listener)
Delete a script from the cluster state
|
ActionFuture<GetPipelineResponse> |
getPipeline(GetPipelineRequest request)
Returns a stored ingest pipeline
|
void |
getPipeline(GetPipelineRequest request,
ActionListener<GetPipelineResponse> listener)
Returns a stored ingest pipeline
|
ActionFuture<GetRepositoriesResponse> |
getRepositories(GetRepositoriesRequest request)
Gets repositories.
|
void |
getRepositories(GetRepositoriesRequest request,
ActionListener<GetRepositoriesResponse> listener)
Gets repositories.
|
ActionFuture<GetSnapshotsResponse> |
getSnapshots(GetSnapshotsRequest request)
Get snapshot.
|
void |
getSnapshots(GetSnapshotsRequest request,
ActionListener<GetSnapshotsResponse> listener)
Get snapshot.
|
ActionFuture<GetStoredScriptResponse> |
getStoredScript(GetStoredScriptRequest request)
Get a script from the cluster state
|
void |
getStoredScript(GetStoredScriptRequest request,
ActionListener<GetStoredScriptResponse> listener)
Get a script from the cluster state
|
ActionFuture<GetTaskResponse> |
getTask(GetTaskRequest request)
Get a task.
|
void |
getTask(GetTaskRequest request,
ActionListener<GetTaskResponse> listener)
Get a task.
|
ActionFuture<ClusterHealthResponse> |
health(ClusterHealthRequest request)
The health of the cluster.
|
void |
health(ClusterHealthRequest request,
ActionListener<ClusterHealthResponse> listener)
The health of the cluster.
|
ActionFuture<ListTasksResponse> |
listTasks(ListTasksRequest request)
List tasks
|
void |
listTasks(ListTasksRequest request,
ActionListener<ListTasksResponse> listener)
List active tasks
|
ActionFuture<NodesHotThreadsResponse> |
nodesHotThreads(NodesHotThreadsRequest request)
Returns top N hot-threads samples per node.
|
void |
nodesHotThreads(NodesHotThreadsRequest request,
ActionListener<NodesHotThreadsResponse> listener)
Returns top N hot-threads samples per node.
|
ActionFuture<NodesInfoResponse> |
nodesInfo(NodesInfoRequest request)
Nodes info of the cluster.
|
void |
nodesInfo(NodesInfoRequest request,
ActionListener<NodesInfoResponse> listener)
Nodes info of the cluster.
|
ActionFuture<NodesStatsResponse> |
nodesStats(NodesStatsRequest request)
Nodes stats of the cluster.
|
void |
nodesStats(NodesStatsRequest request,
ActionListener<NodesStatsResponse> listener)
Nodes stats of the cluster.
|
ActionFuture<PendingClusterTasksResponse> |
pendingClusterTasks(PendingClusterTasksRequest request)
Returns a list of the pending cluster tasks, that are scheduled to be executed.
|
void |
pendingClusterTasks(PendingClusterTasksRequest request,
ActionListener<PendingClusterTasksResponse> listener)
Returns a list of the pending cluster tasks, that are scheduled to be executed.
|
ClusterAllocationExplainRequestBuilder |
prepareAllocationExplain()
Explain the allocation of a shard
|
CancelTasksRequestBuilder |
prepareCancelTasks(java.lang.String... nodesIds)
Cancel active tasks
|
ClusterStatsRequestBuilder |
prepareClusterStats() |
CreateSnapshotRequestBuilder |
prepareCreateSnapshot(java.lang.String repository,
java.lang.String name)
Creates a new snapshot.
|
DeletePipelineRequestBuilder |
prepareDeletePipeline()
Deletes a stored ingest pipeline
|
DeletePipelineRequestBuilder |
prepareDeletePipeline(java.lang.String id)
Deletes a stored ingest pipeline
|
DeleteRepositoryRequestBuilder |
prepareDeleteRepository(java.lang.String name)
Unregisters a repository.
|
DeleteSnapshotRequestBuilder |
prepareDeleteSnapshot(java.lang.String repository,
java.lang.String snapshot)
Delete snapshot.
|
DeleteStoredScriptRequestBuilder |
prepareDeleteStoredScript()
Delete a script from the cluster state
|
DeleteStoredScriptRequestBuilder |
prepareDeleteStoredScript(java.lang.String scriptLang,
java.lang.String id)
Delete a script from the cluster state
|
GetPipelineRequestBuilder |
prepareGetPipeline(java.lang.String... ids)
Returns a stored ingest pipeline
|
GetRepositoriesRequestBuilder |
prepareGetRepositories(java.lang.String... name)
Gets repositories.
|
GetSnapshotsRequestBuilder |
prepareGetSnapshots(java.lang.String repository)
Get snapshot.
|
GetStoredScriptRequestBuilder |
prepareGetStoredScript()
Get a script from the cluster state
|
GetStoredScriptRequestBuilder |
prepareGetStoredScript(java.lang.String scriptLang,
java.lang.String id)
Get a script from the cluster state
|
GetTaskRequestBuilder |
prepareGetTask(java.lang.String taskId)
Fetch a task by id.
|
GetTaskRequestBuilder |
prepareGetTask(TaskId taskId)
Fetch a task by id.
|
ClusterHealthRequestBuilder |
prepareHealth(java.lang.String... indices)
The health of the cluster.
|
ListTasksRequestBuilder |
prepareListTasks(java.lang.String... nodesIds)
List active tasks
|
NodesHotThreadsRequestBuilder |
prepareNodesHotThreads(java.lang.String... nodesIds)
Returns a request builder to fetch top N hot-threads samples per node.
|
NodesInfoRequestBuilder |
prepareNodesInfo(java.lang.String... nodesIds)
Nodes info of the cluster.
|
NodesStatsRequestBuilder |
prepareNodesStats(java.lang.String... nodesIds)
Nodes stats of the cluster.
|
PendingClusterTasksRequestBuilder |
preparePendingClusterTasks()
Returns a list of the pending cluster tasks, that are scheduled to be executed.
|
PutPipelineRequestBuilder |
preparePutPipeline(java.lang.String id,
BytesReference source)
|
PutPipelineRequestBuilder |
preparePutPipeline(java.lang.String id,
BytesReference source,
XContentType xContentType)
Stores an ingest pipeline
|
PutRepositoryRequestBuilder |
preparePutRepository(java.lang.String name)
Registers a snapshot repository.
|
PutStoredScriptRequestBuilder |
preparePutStoredScript()
Store a script in the cluster state
|
ClusterRerouteRequestBuilder |
prepareReroute()
Update settings in the cluster.
|
RestoreSnapshotRequestBuilder |
prepareRestoreSnapshot(java.lang.String repository,
java.lang.String snapshot)
Restores a snapshot.
|
ClusterSearchShardsRequestBuilder |
prepareSearchShards()
Returns list of shards the given search would be executed on.
|
ClusterSearchShardsRequestBuilder |
prepareSearchShards(java.lang.String... indices)
Returns list of shards the given search would be executed on.
|
SimulatePipelineRequestBuilder |
prepareSimulatePipeline(BytesReference source)
Deprecated.
|
SimulatePipelineRequestBuilder |
prepareSimulatePipeline(BytesReference source,
XContentType xContentType)
Simulates an ingest pipeline
|
SnapshotsStatusRequestBuilder |
prepareSnapshotStatus()
Get snapshot status.
|
SnapshotsStatusRequestBuilder |
prepareSnapshotStatus(java.lang.String repository)
Get snapshot status.
|
ClusterStateRequestBuilder |
prepareState()
The state of the cluster.
|
ClusterUpdateSettingsRequestBuilder |
prepareUpdateSettings()
Update settings in the cluster.
|
VerifyRepositoryRequestBuilder |
prepareVerifyRepository(java.lang.String name)
Verifies a repository.
|
ActionFuture<WritePipelineResponse> |
putPipeline(PutPipelineRequest request)
Stores an ingest pipeline
|
void |
putPipeline(PutPipelineRequest request,
ActionListener<WritePipelineResponse> listener)
Stores an ingest pipeline
|
ActionFuture<PutRepositoryResponse> |
putRepository(PutRepositoryRequest request)
Registers a snapshot repository.
|
void |
putRepository(PutRepositoryRequest request,
ActionListener<PutRepositoryResponse> listener)
Registers a snapshot repository.
|
ActionFuture<PutStoredScriptResponse> |
putStoredScript(PutStoredScriptRequest request)
Store a script in the cluster state
|
void |
putStoredScript(PutStoredScriptRequest request,
ActionListener<PutStoredScriptResponse> listener)
Store a script in the cluster state
|
ActionFuture<ClusterRerouteResponse> |
reroute(ClusterRerouteRequest request)
Reroutes allocation of shards.
|
void |
reroute(ClusterRerouteRequest request,
ActionListener<ClusterRerouteResponse> listener)
Reroutes allocation of shards.
|
ActionFuture<RestoreSnapshotResponse> |
restoreSnapshot(RestoreSnapshotRequest request)
Restores a snapshot.
|
void |
restoreSnapshot(RestoreSnapshotRequest request,
ActionListener<RestoreSnapshotResponse> listener)
Restores a snapshot.
|
ActionFuture<ClusterSearchShardsResponse> |
searchShards(ClusterSearchShardsRequest request)
Returns list of shards the given search would be executed on.
|
void |
searchShards(ClusterSearchShardsRequest request,
ActionListener<ClusterSearchShardsResponse> listener)
Returns list of shards the given search would be executed on.
|
ActionFuture<SimulatePipelineResponse> |
simulatePipeline(SimulatePipelineRequest request)
Simulates an ingest pipeline
|
void |
simulatePipeline(SimulatePipelineRequest request,
ActionListener<SimulatePipelineResponse> listener)
Simulates an ingest pipeline
|
ActionFuture<SnapshotsStatusResponse> |
snapshotsStatus(SnapshotsStatusRequest request)
Get snapshot status.
|
void |
snapshotsStatus(SnapshotsStatusRequest request,
ActionListener<SnapshotsStatusResponse> listener)
Get snapshot status.
|
ActionFuture<ClusterStateResponse> |
state(ClusterStateRequest request)
The state of the cluster.
|
void |
state(ClusterStateRequest request,
ActionListener<ClusterStateResponse> listener)
The state of the cluster.
|
ActionFuture<ClusterUpdateSettingsResponse> |
updateSettings(ClusterUpdateSettingsRequest request)
Updates settings in the cluster.
|
void |
updateSettings(ClusterUpdateSettingsRequest request,
ActionListener<ClusterUpdateSettingsResponse> listener)
Update settings in the cluster.
|
ActionFuture<VerifyRepositoryResponse> |
verifyRepository(VerifyRepositoryRequest request)
Verifies a repository.
|
void |
verifyRepository(VerifyRepositoryRequest request,
ActionListener<VerifyRepositoryResponse> listener)
Verifies a repository.
|