| Modifier and Type | Class and Description |
|---|---|
class |
LatchedActionListener<T>
An action listener that allows passing in a
CountDownLatch that
will be counted down after onResponse or onFailure is called |
| Modifier and Type | Field and Description |
|---|---|
protected ActionListener<Response> |
ActionRunnable.listener |
| Modifier and Type | Method and Description |
|---|---|
void |
ListenableActionFuture.addListener(ActionListener<T> listener)
Add an action listener to be invoked when a response has received.
|
void |
ActionRequestBuilder.execute(ActionListener<Response> listener) |
void |
TransportActionNodeProxy.execute(DiscoveryNode node,
Request request,
ActionListener<Response> listener) |
| Constructor and Description |
|---|
ActionListenerResponseHandler(ActionListener<Response> listener) |
ActionRunnable(ActionListener<Response> listener) |
LatchedActionListener(ActionListener<T> delegate,
CountDownLatch latch) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterHealthAction.masterOperation(ClusterHealthRequest request,
ClusterState state,
ActionListener<ClusterHealthResponse> listener) |
protected void |
TransportClusterHealthAction.masterOperation(Task task,
ClusterHealthRequest request,
ClusterState unusedState,
ActionListener<ClusterHealthResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteRepositoryAction.masterOperation(DeleteRepositoryRequest request,
ClusterState state,
ActionListener<DeleteRepositoryResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetRepositoriesAction.masterOperation(GetRepositoriesRequest request,
ClusterState state,
ActionListener<GetRepositoriesResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPutRepositoryAction.masterOperation(PutRepositoryRequest request,
ClusterState state,
ActionListener<PutRepositoryResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportVerifyRepositoryAction.masterOperation(VerifyRepositoryRequest request,
ClusterState state,
ActionListener<VerifyRepositoryResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterRerouteAction.masterOperation(ClusterRerouteRequest request,
ClusterState state,
ActionListener<ClusterRerouteResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterUpdateSettingsAction.masterOperation(ClusterUpdateSettingsRequest request,
ClusterState state,
ActionListener<ClusterUpdateSettingsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterSearchShardsAction.masterOperation(ClusterSearchShardsRequest request,
ClusterState state,
ActionListener<ClusterSearchShardsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportCreateSnapshotAction.masterOperation(CreateSnapshotRequest request,
ClusterState state,
ActionListener<CreateSnapshotResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteSnapshotAction.masterOperation(DeleteSnapshotRequest request,
ClusterState state,
ActionListener<DeleteSnapshotResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetSnapshotsAction.masterOperation(GetSnapshotsRequest request,
ClusterState state,
ActionListener<GetSnapshotsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportRestoreSnapshotAction.masterOperation(RestoreSnapshotRequest request,
ClusterState state,
ActionListener<RestoreSnapshotResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportSnapshotsStatusAction.masterOperation(SnapshotsStatusRequest request,
ClusterState state,
ActionListener<SnapshotsStatusResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterStateAction.masterOperation(ClusterStateRequest request,
ClusterState state,
ActionListener<ClusterStateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPendingClusterTasksAction.masterOperation(PendingClusterTasksRequest request,
ClusterState state,
ActionListener<PendingClusterTasksResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportRenderSearchTemplateAction.doExecute(RenderSearchTemplateRequest request,
ActionListener<RenderSearchTemplateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportIndicesAliasesAction.masterOperation(IndicesAliasesRequest request,
ClusterState state,
ActionListener<IndicesAliasesResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportAliasesExistAction.masterOperation(GetAliasesRequest request,
ClusterState state,
ActionListener<AliasesExistResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetAliasesAction.masterOperation(GetAliasesRequest request,
ClusterState state,
ActionListener<GetAliasesResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportCloseIndexAction.doExecute(Task task,
CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener) |
protected void |
TransportCloseIndexAction.masterOperation(CloseIndexRequest request,
ClusterState state,
ActionListener<CloseIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportCreateIndexAction.masterOperation(CreateIndexRequest request,
ClusterState state,
ActionListener<CreateIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteIndexAction.doExecute(Task task,
DeleteIndexRequest request,
ActionListener<DeleteIndexResponse> listener) |
protected void |
TransportDeleteIndexAction.masterOperation(DeleteIndexRequest request,
ClusterState state,
ActionListener<DeleteIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportIndicesExistsAction.masterOperation(IndicesExistsRequest request,
ClusterState state,
ActionListener<IndicesExistsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportTypesExistsAction.masterOperation(TypesExistsRequest request,
ClusterState state,
ActionListener<TypesExistsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportSyncedFlushAction.doExecute(SyncedFlushRequest request,
ActionListener<SyncedFlushResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetIndexAction.doMasterOperation(GetIndexRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetFieldMappingsAction.doExecute(GetFieldMappingsRequest request,
ActionListener<GetFieldMappingsResponse> listener) |
protected void |
TransportGetMappingsAction.doMasterOperation(GetMappingsRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetMappingsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPutMappingAction.masterOperation(PutMappingRequest request,
ClusterState state,
ActionListener<PutMappingResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportOpenIndexAction.doExecute(Task task,
OpenIndexRequest request,
ActionListener<OpenIndexResponse> listener) |
protected void |
TransportOpenIndexAction.masterOperation(OpenIndexRequest request,
ClusterState state,
ActionListener<OpenIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetSettingsAction.masterOperation(GetSettingsRequest request,
ClusterState state,
ActionListener<GetSettingsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportUpdateSettingsAction.masterOperation(UpdateSettingsRequest request,
ClusterState state,
ActionListener<UpdateSettingsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportIndicesShardStoresAction.masterOperation(IndicesShardStoresRequest request,
ClusterState state,
ActionListener<IndicesShardStoresResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteIndexTemplateAction.masterOperation(DeleteIndexTemplateRequest request,
ClusterState state,
ActionListener<DeleteIndexTemplateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetIndexTemplatesAction.masterOperation(GetIndexTemplatesRequest request,
ClusterState state,
ActionListener<GetIndexTemplatesResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPutIndexTemplateAction.masterOperation(PutIndexTemplateRequest request,
ClusterState state,
ActionListener<PutIndexTemplateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportUpgradeAction.doExecute(Task task,
UpgradeRequest request,
ActionListener<UpgradeResponse> listener) |
protected void |
TransportUpgradeSettingsAction.masterOperation(UpgradeSettingsRequest request,
ClusterState state,
ActionListener<UpgradeSettingsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportValidateQueryAction.doExecute(Task task,
ValidateQueryRequest request,
ActionListener<ValidateQueryResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteWarmerAction.masterOperation(DeleteWarmerRequest request,
ClusterState state,
ActionListener<DeleteWarmerResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportGetWarmersAction.doMasterOperation(GetWarmersRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetWarmersResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPutWarmerAction.masterOperation(PutWarmerRequest request,
ClusterState state,
ActionListener<PutWarmerResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportBulkAction.doExecute(BulkRequest bulkRequest,
ActionListener<BulkResponse> listener) |
void |
TransportBulkAction.executeBulk(BulkRequest bulkRequest,
ActionListener<BulkResponse> listener)
This method executes the
BulkRequest and calls the given listener once the request returns. |
void |
Retry.withAsyncBackoff(Client client,
BulkRequest bulkRequest,
ActionListener<BulkResponse> listener)
Invokes #bulk(BulkRequest, ActionListener) on the provided client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CountRequestBuilder.execute(ActionListener<CountResponse> listener)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteAction.doExecute(Task task,
DeleteRequest request,
ActionListener<DeleteResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportExistsAction.doExecute(Task task,
ExistsRequest request,
ActionListener<ExistsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportExplainAction.doExecute(ExplainRequest request,
ActionListener<ExplainResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportMultiGetAction.doExecute(MultiGetRequest request,
ActionListener<MultiGetResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportIndexAction.doExecute(Task task,
IndexRequest request,
ActionListener<IndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteIndexedScriptAction.doExecute(DeleteIndexedScriptRequest request,
ActionListener<DeleteIndexedScriptResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
TransportGetIndexedScriptAction.doExecute(GetIndexedScriptRequest request,
ActionListener<GetIndexedScriptResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPutIndexedScriptAction.doExecute(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportMultiPercolateAction.doExecute(MultiPercolateRequest request,
ActionListener<MultiPercolateResponse> listener) |
protected void |
TransportPercolateAction.doExecute(Task task,
PercolateRequest request,
ActionListener<PercolateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClearScrollAction.doExecute(ClearScrollRequest request,
ActionListener<ClearScrollResponse> listener) |
protected void |
TransportMultiSearchAction.doExecute(MultiSearchRequest request,
ActionListener<MultiSearchResponse> listener) |
protected void |
TransportSearchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchScrollAction.doExecute(SearchScrollRequest request,
ActionListener<SearchResponse> listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractListenableActionFuture<T,L> |
class |
AdapterActionFuture<T,L> |
class |
DelegatingActionListener<Instigator extends ActionResponse,Delegated extends ActionResponse> |
class |
PlainActionFuture<T> |
class |
PlainListenableActionFuture<T> |
class |
ThreadedActionListener<Response>
An action listener that wraps another action listener and threading its execution.
|
| Modifier and Type | Method and Description |
|---|---|
<Response> ActionListener<Response> |
ThreadedActionListener.Wrapper.wrap(ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractListenableActionFuture.addListener(ActionListener<T> listener) |
protected abstract boolean |
ActionFilter.Simple.apply(String action,
ActionRequest request,
ActionListener listener)
Applies this filter and returns
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the request and called the given listener. |
protected abstract boolean |
ActionFilter.Simple.apply(String action,
ActionResponse response,
ActionListener listener)
Applies this filter and returns
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the response by calling the given listener. |
void |
ActionFilter.apply(String action,
ActionResponse response,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the response side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
void |
ActionFilter.Simple.apply(String action,
ActionResponse response,
ActionListener listener,
ActionFilterChain chain) |
void |
ActionFilter.apply(Task task,
String action,
ActionRequest request,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the request side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
void |
ActionFilter.Simple.apply(Task task,
String action,
ActionRequest request,
ActionListener listener,
ActionFilterChain chain) |
protected abstract void |
TransportAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
Task |
TransportAction.execute(Request request,
ActionListener<Response> listener)
Use this method when the transport action call should result in creation of a new task associated with the call.
|
void |
TransportAction.execute(Task task,
Request request,
ActionListener<Response> listener)
Use this method when the transport action should continue to run in the context of the current task
|
void |
AbstractListenableActionFuture.internalAddListener(ActionListener<T> listener) |
void |
ActionFilterChain.proceed(String action,
ActionResponse response,
ActionListener listener)
Continue processing the response.
|
void |
ActionFilterChain.proceed(Task task,
String action,
ActionRequest request,
ActionListener listener)
Continue processing the request.
|
<Response> ActionListener<Response> |
ThreadedActionListener.Wrapper.wrap(ActionListener<Response> listener) |
| Constructor and Description |
|---|
DelegatingActionListener(ActionListener<Delegated> listener) |
ThreadedActionListener(ESLogger logger,
ThreadPool threadPool,
String executor,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportBroadcastAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportBroadcastAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
| Constructor and Description |
|---|
TransportBroadcastAction.AsyncBroadcastAction(Task task,
Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportBroadcastByNodeAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportBroadcastByNodeAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
| Constructor and Description |
|---|
TransportBroadcastByNodeAction.AsyncAction(Task task,
Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportMasterNodeAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportMasterNodeAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
protected abstract void |
TransportMasterNodeAction.masterOperation(Request request,
ClusterState state,
ActionListener<Response> listener) |
protected void |
TransportMasterNodeAction.masterOperation(Task task,
Request request,
ClusterState state,
ActionListener<Response> listener)
Override this operation if access to the task parameter is needed
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
TransportClusterInfoAction.doMasterOperation(Request request,
String[] concreteIndices,
ClusterState state,
ActionListener<Response> listener) |
protected void |
TransportClusterInfoAction.masterOperation(Request request,
ClusterState state,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportNodesAction.doExecute(NodesRequest request,
ActionListener<NodesResponse> listener) |
protected void |
TransportNodesAction.doExecute(Task task,
NodesRequest request,
ActionListener<NodesResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportBroadcastReplicationAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportReplicationAction.doExecute(Request request,
ActionListener<Response> listener) |
protected void |
TransportBroadcastReplicationAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
protected void |
TransportReplicationAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
protected void |
TransportBroadcastReplicationAction.shardExecute(Task task,
Request request,
ShardId shardId,
ActionListener<ShardResponse> shardActionListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportInstanceSingleOperationAction.doExecute(Request request,
ActionListener<Response> listener) |
protected abstract void |
TransportInstanceSingleOperationAction.shardOperation(Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportSingleShardAction.doExecute(Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportTasksAction.doExecute(TasksRequest request,
ActionListener<TasksResponse> listener) |
protected void |
TransportTasksAction.doExecute(Task task,
TasksRequest request,
ActionListener<TasksResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportMultiTermVectorsAction.doExecute(MultiTermVectorsRequest request,
ActionListener<MultiTermVectorsResponse> listener) |
protected void |
TransportTermVectorsAction.doExecute(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDfsOnlyAction.doExecute(Task task,
DfsOnlyRequest request,
ActionListener<DfsOnlyResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportUpdateAction.doExecute(UpdateRequest request,
ActionListener<UpdateResponse> listener) |
protected void |
TransportUpdateAction.shardOperation(UpdateRequest request,
ActionListener<UpdateResponse> listener) |
protected void |
TransportUpdateAction.shardOperation(UpdateRequest request,
ActionListener<UpdateResponse> listener,
int retryCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
IndicesAdminClient.aliases(IndicesAliasesRequest request,
ActionListener<IndicesAliasesResponse> listener)
Allows to add/remove aliases from indices.
|
void |
IndicesAdminClient.aliasesExist(GetAliasesRequest request,
ActionListener<AliasesExistResponse> listener)
Check the existence of specified index aliases.
|
void |
IndicesAdminClient.analyze(AnalyzeRequest request,
ActionListener<AnalyzeResponse> listener)
Analyze text under the provided index.
|
void |
Client.bulk(BulkRequest request,
ActionListener<BulkResponse> listener)
Executes a bulk of index / delete operations.
|
void |
ClusterAdminClient.cancelTasks(CancelTasksRequest request,
ActionListener<CancelTasksResponse> listener)
Cancel active tasks
|
void |
IndicesAdminClient.clearCache(ClearIndicesCacheRequest request,
ActionListener<ClearIndicesCacheResponse> listener)
Clear indices cache.
|
void |
Client.clearScroll(ClearScrollRequest request,
ActionListener<ClearScrollResponse> listener)
Clears the search contexts associated with specified scroll ids.
|
void |
IndicesAdminClient.close(CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener)
Closes an index based on the index name.
|
void |
ClusterAdminClient.clusterStats(ClusterStatsRequest request,
ActionListener<ClusterStatsResponse> listener)
Cluster wide aggregated stats
|
void |
Client.count(CountRequest request,
ActionListener<CountResponse> listener)
Deprecated.
use
Client.search(SearchRequest, ActionListener) instead and set size to 0 |
void |
IndicesAdminClient.create(CreateIndexRequest request,
ActionListener<CreateIndexResponse> listener)
Creates an index using an explicit request allowing to specify the settings of the index.
|
void |
ClusterAdminClient.createSnapshot(CreateSnapshotRequest request,
ActionListener<CreateSnapshotResponse> listener)
Creates a new snapshot.
|
void |
IndicesAdminClient.delete(DeleteIndexRequest request,
ActionListener<DeleteIndexResponse> listener)
Deletes an index based on the index name.
|
void |
Client.delete(DeleteRequest request,
ActionListener<DeleteResponse> listener)
Deletes a document from the index based on the index, type and id.
|
void |
Client.deleteIndexedScript(DeleteIndexedScriptRequest request,
ActionListener<DeleteIndexedScriptResponse> listener)
delete an indexed script
|
void |
ClusterAdminClient.deleteRepository(DeleteRepositoryRequest request,
ActionListener<DeleteRepositoryResponse> listener)
Unregisters a repository.
|
void |
ClusterAdminClient.deleteSnapshot(DeleteSnapshotRequest request,
ActionListener<DeleteSnapshotResponse> listener)
Delete snapshot.
|
void |
IndicesAdminClient.deleteTemplate(DeleteIndexTemplateRequest request,
ActionListener<DeleteIndexTemplateResponse> listener)
Deletes an index template.
|
void |
IndicesAdminClient.deleteWarmer(DeleteWarmerRequest request,
ActionListener<DeleteWarmerResponse> listener)
Deletes an index warmer.
|
protected <Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
FilterClient.doExecute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener) |
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
ElasticsearchClient.execute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener)
Executes a generic action, denoted by an
Action. |
void |
Client.exists(ExistsRequest request,
ActionListener<ExistsResponse> listener)
Deprecated.
use
Client.search(SearchRequest, ActionListener) instead and set `size` to `0` and `terminate_after` to `1` |
void |
IndicesAdminClient.exists(IndicesExistsRequest request,
ActionListener<IndicesExistsResponse> listener)
The status of one or more indices.
|
void |
Client.explain(ExplainRequest request,
ActionListener<ExplainResponse> listener)
Computes a score explanation for the specified request.
|
void |
Client.fieldStats(FieldStatsRequest request,
ActionListener<FieldStatsResponse> listener) |
void |
IndicesAdminClient.flush(FlushRequest request,
ActionListener<FlushResponse> listener)
Explicitly flush one or more indices (releasing memory from the node).
|
void |
IndicesAdminClient.forceMerge(ForceMergeRequest request,
ActionListener<ForceMergeResponse> listener)
Explicitly force merge one or more indices into a the number of segments.
|
void |
Client.get(GetRequest request,
ActionListener<GetResponse> listener)
Gets the document that was indexed from an index with a type and id.
|
void |
IndicesAdminClient.getAliases(GetAliasesRequest request,
ActionListener<GetAliasesResponse> listener)
Get specific index aliases that exists in particular indices and / or by name.
|
void |
IndicesAdminClient.getFieldMappings(GetFieldMappingsRequest request,
ActionListener<GetFieldMappingsResponse> listener)
Get the mappings of specific fields
|
void |
IndicesAdminClient.getIndex(GetIndexRequest request,
ActionListener<GetIndexResponse> listener)
Get index metadata for particular indices.
|
void |
Client.getIndexedScript(GetIndexedScriptRequest request,
ActionListener<GetIndexedScriptResponse> listener)
Get an indexed script
|
void |
IndicesAdminClient.getMappings(GetMappingsRequest request,
ActionListener<GetMappingsResponse> listener)
Get the complete mappings of one or more types
|
void |
ClusterAdminClient.getRepositories(GetRepositoriesRequest request,
ActionListener<GetRepositoriesResponse> listener)
Gets repositories.
|
void |
IndicesAdminClient.getSettings(GetSettingsRequest request,
ActionListener<GetSettingsResponse> listener)
Executed a per index settings get request and returns the settings for the indices specified.
|
void |
ClusterAdminClient.getSnapshots(GetSnapshotsRequest request,
ActionListener<GetSnapshotsResponse> listener)
Get snapshot.
|
void |
IndicesAdminClient.getTemplates(GetIndexTemplatesRequest request,
ActionListener<GetIndexTemplatesResponse> listener)
Gets an index template.
|
void |
IndicesAdminClient.getWarmers(GetWarmersRequest request,
ActionListener<GetWarmersResponse> listener)
Returns a map of index warmers for the given get request.
|
void |
ClusterAdminClient.health(ClusterHealthRequest request,
ActionListener<ClusterHealthResponse> listener)
The health of the cluster.
|
void |
Client.index(IndexRequest request,
ActionListener<IndexResponse> listener)
Index a document associated with a given index and type.
|
void |
ClusterAdminClient.listTasks(ListTasksRequest request,
ActionListener<ListTasksResponse> listener)
List active tasks
|
void |
Client.multiGet(MultiGetRequest request,
ActionListener<MultiGetResponse> listener)
Multi get documents.
|
void |
Client.multiPercolate(MultiPercolateRequest request,
ActionListener<MultiPercolateResponse> listener)
Performs multiple percolate requests.
|
void |
Client.multiSearch(MultiSearchRequest request,
ActionListener<MultiSearchResponse> listener)
Performs multiple search requests.
|
void |
Client.multiTermVectors(MultiTermVectorsRequest request,
ActionListener<MultiTermVectorsResponse> listener)
Multi get term vectors.
|
void |
ClusterAdminClient.nodesHotThreads(NodesHotThreadsRequest request,
ActionListener<NodesHotThreadsResponse> listener)
Returns top N hot-threads samples per node.
|
void |
ClusterAdminClient.nodesInfo(NodesInfoRequest request,
ActionListener<NodesInfoResponse> listener)
Nodes info of the cluster.
|
void |
ClusterAdminClient.nodesStats(NodesStatsRequest request,
ActionListener<NodesStatsResponse> listener)
Nodes stats of the cluster.
|
void |
IndicesAdminClient.open(OpenIndexRequest request,
ActionListener<OpenIndexResponse> listener)
Open an index based on the index name.
|
void |
ClusterAdminClient.pendingClusterTasks(PendingClusterTasksRequest request,
ActionListener<PendingClusterTasksResponse> listener)
Returns a list of the pending cluster tasks, that are scheduled to be executed.
|
void |
Client.percolate(PercolateRequest request,
ActionListener<PercolateResponse> listener)
Percolates a request returning the matches documents.
|
void |
Client.putIndexedScript(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener)
Put an indexed script
|
void |
IndicesAdminClient.putMapping(PutMappingRequest request,
ActionListener<PutMappingResponse> listener)
Add mapping definition for a type into one or more indices.
|
void |
ClusterAdminClient.putRepository(PutRepositoryRequest request,
ActionListener<PutRepositoryResponse> listener)
Registers a snapshot repository.
|
void |
IndicesAdminClient.putTemplate(PutIndexTemplateRequest request,
ActionListener<PutIndexTemplateResponse> listener)
Puts an index template.
|
void |
IndicesAdminClient.putWarmer(PutWarmerRequest request,
ActionListener<PutWarmerResponse> listener)
Puts an index search warmer to be applies when applicable.
|
void |
IndicesAdminClient.recoveries(RecoveryRequest request,
ActionListener<RecoveryResponse> listener)
Indices recoveries
|
void |
IndicesAdminClient.refresh(RefreshRequest request,
ActionListener<RefreshResponse> listener)
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
|
void |
ClusterAdminClient.renderSearchTemplate(RenderSearchTemplateRequest request,
ActionListener<RenderSearchTemplateResponse> listener)
Return the rendered search request for a given search template.
|
void |
ClusterAdminClient.reroute(ClusterRerouteRequest request,
ActionListener<ClusterRerouteResponse> listener)
Reroutes allocation of shards.
|
void |
ClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request,
ActionListener<RestoreSnapshotResponse> listener)
Restores a snapshot.
|
void |
Client.search(SearchRequest request,
ActionListener<SearchResponse> listener)
Search across one or more indices and one or more types with a query.
|
void |
Client.searchScroll(SearchScrollRequest request,
ActionListener<SearchResponse> listener)
A search scroll request to continue searching a previous scrollable search request.
|
void |
ClusterAdminClient.searchShards(ClusterSearchShardsRequest request,
ActionListener<ClusterSearchShardsResponse> listener)
Returns list of shards the given search would be executed on.
|
void |
IndicesAdminClient.segments(IndicesSegmentsRequest request,
ActionListener<IndicesSegmentResponse> listener)
The segments of one or more indices.
|
void |
IndicesAdminClient.shardStores(IndicesShardStoresRequest request,
ActionListener<IndicesShardStoresResponse> listener)
The shard stores info of one or more indices.
|
void |
ClusterAdminClient.snapshotsStatus(SnapshotsStatusRequest request,
ActionListener<SnapshotsStatusResponse> listener)
Get snapshot status.
|
void |
ClusterAdminClient.state(ClusterStateRequest request,
ActionListener<ClusterStateResponse> listener)
The state of the cluster.
|
void |
IndicesAdminClient.stats(IndicesStatsRequest request,
ActionListener<IndicesStatsResponse> listener)
Indices stats.
|
void |
Client.suggest(SuggestRequest request,
ActionListener<SuggestResponse> listener)
Suggestions matching a specific phrase.
|
void |
IndicesAdminClient.syncedFlush(SyncedFlushRequest request,
ActionListener<SyncedFlushResponse> listener)
Explicitly sync flush one or more indices (write sync id to shards for faster recovery).
|
void |
Client.termVector(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener)
Deprecated.
|
void |
Client.termVectors(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener)
An action that returns the term vectors for a specific document.
|
void |
IndicesAdminClient.typesExists(TypesExistsRequest request,
ActionListener<TypesExistsResponse> listener)
Types exists
|
void |
Client.update(UpdateRequest request,
ActionListener<UpdateResponse> listener)
Updates a document based on a script.
|
void |
ClusterAdminClient.updateSettings(ClusterUpdateSettingsRequest request,
ActionListener<ClusterUpdateSettingsResponse> listener)
Update settings in the cluster.
|
void |
IndicesAdminClient.updateSettings(UpdateSettingsRequest request,
ActionListener<UpdateSettingsResponse> listener)
Updates settings of one or more indices.
|
void |
IndicesAdminClient.upgrade(UpgradeRequest request,
ActionListener<UpgradeResponse> listener)
Explicitly upgrade one or more indices
|
void |
IndicesAdminClient.upgradeStatus(UpgradeStatusRequest request,
ActionListener<UpgradeStatusResponse> listener)
Check upgrade status of one or more indices
|
void |
IndicesAdminClient.validateQuery(ValidateQueryRequest request,
ActionListener<ValidateQueryResponse> listener)
Validate a query for correctness.
|
void |
ClusterAdminClient.verifyRepository(VerifyRepositoryRequest request,
ActionListener<VerifyRepositoryResponse> listener)
Verifies a repository.
|
| Modifier and Type | Method and Description |
|---|---|
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
NodeClient.doExecute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractClient.bulk(BulkRequest request,
ActionListener<BulkResponse> listener) |
void |
AbstractClient.clearScroll(ClearScrollRequest request,
ActionListener<ClearScrollResponse> listener) |
void |
AbstractClient.count(CountRequest request,
ActionListener<CountResponse> listener) |
void |
AbstractClient.delete(DeleteRequest request,
ActionListener<DeleteResponse> listener) |
void |
AbstractClient.deleteIndexedScript(DeleteIndexedScriptRequest request,
ActionListener<DeleteIndexedScriptResponse> listener)
delete an indexed script
|
protected abstract <Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
AbstractClient.doExecute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener) |
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
AbstractClient.execute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener)
This is the single execution point of *all* clients.
|
void |
AbstractClient.exists(ExistsRequest request,
ActionListener<ExistsResponse> listener) |
void |
AbstractClient.explain(ExplainRequest request,
ActionListener<ExplainResponse> listener) |
void |
AbstractClient.fieldStats(FieldStatsRequest request,
ActionListener<FieldStatsResponse> listener) |
void |
AbstractClient.get(GetRequest request,
ActionListener<GetResponse> listener) |
void |
AbstractClient.getIndexedScript(GetIndexedScriptRequest request,
ActionListener<GetIndexedScriptResponse> listener) |
void |
AbstractClient.index(IndexRequest request,
ActionListener<IndexResponse> listener) |
void |
AbstractClient.multiGet(MultiGetRequest request,
ActionListener<MultiGetResponse> listener) |
void |
AbstractClient.multiPercolate(MultiPercolateRequest request,
ActionListener<MultiPercolateResponse> listener) |
void |
AbstractClient.multiSearch(MultiSearchRequest request,
ActionListener<MultiSearchResponse> listener) |
void |
AbstractClient.multiTermVectors(MultiTermVectorsRequest request,
ActionListener<MultiTermVectorsResponse> listener) |
void |
AbstractClient.percolate(PercolateRequest request,
ActionListener<PercolateResponse> listener) |
void |
AbstractClient.putIndexedScript(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener)
Put an indexed script
|
void |
AbstractClient.search(SearchRequest request,
ActionListener<SearchResponse> listener) |
void |
AbstractClient.searchScroll(SearchScrollRequest request,
ActionListener<SearchResponse> listener) |
void |
AbstractClient.suggest(SuggestRequest request,
ActionListener<SuggestResponse> listener) |
void |
AbstractClient.termVector(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener)
Deprecated.
|
void |
AbstractClient.termVectors(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener) |
void |
AbstractClient.update(UpdateRequest request,
ActionListener<UpdateResponse> listener) |
| Modifier and Type | Class and Description |
|---|---|
static class |
TransportClientNodesService.RetryListener<Response> |
| Modifier and Type | Method and Description |
|---|---|
protected <Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
TransportClient.doExecute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener) |
void |
TransportClientNodesService.NodeListenerCallback.doWithNode(DiscoveryNode node,
ActionListener<Response> listener) |
<Response> void |
TransportClientNodesService.execute(TransportClientNodesService.NodeListenerCallback<Response> callback,
ActionListener<Response> listener) |
| Constructor and Description |
|---|
TransportClientNodesService.RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback,
ActionListener<Response> listener,
List<DiscoveryNode> nodes,
int index,
TransportClient.HostFailureListener hostFailureListener) |
| Modifier and Type | Method and Description |
|---|---|
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
TransportProxyClient.execute(Action<Request,Response,RequestBuilder> action,
Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected CountDownLatch |
InternalClusterInfoService.updateIndicesStats(ActionListener<IndicesStatsResponse> listener)
Retrieve the latest indices stats, calling the listener when complete
|
protected CountDownLatch |
InternalClusterInfoService.updateNodeStats(ActionListener<NodesStatsResponse> listener)
Retrieve the latest nodes stats, calling the listener when complete
|
| Constructor and Description |
|---|
AckedClusterStateUpdateTask(AckedRequest request,
ActionListener<Response> listener) |
AckedClusterStateUpdateTask(Priority priority,
AckedRequest request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncShardFetch.List.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<NodesResponse> listener) |
void |
TransportNodesListGatewayStartedShards.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<TransportNodesListGatewayStartedShards.NodesGatewayStartedShards> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
SyncedFlushService.attemptSyncedFlush(ShardId shardId,
ActionListener<ShardsSyncedFlushResult> actionListener) |
void |
SyncedFlushService.attemptSyncedFlush(String[] aliasesOrIndices,
IndicesOptions indicesOptions,
ActionListener<SyncedFlushResponse> listener)
a utility method to perform a synced flush for all shards of multiple indices.
|
protected void |
SyncedFlushService.getInflightOpsCount(ShardId shardId,
ClusterState state,
IndexShardRoutingTable shardRoutingTable,
ActionListener<org.elasticsearch.indices.flush.SyncedFlushService.InFlightOpsResponse> listener)
returns the number of in flight operations on primary.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransportNodesListShardStoreMetaData.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<TransportNodesListShardStoreMetaData.NodesStoreFilesMetaData> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
VerifyNodeRepositoryAction.finishVerification(ActionListener<RepositoriesService.VerifyResponse> listener,
List<DiscoveryNode> nodes,
CopyOnWriteArrayList<VerificationFailure> errors) |
void |
RepositoriesService.registerRepository(RepositoriesService.RegisterRepositoryRequest request,
ActionListener<ClusterStateUpdateResponse> listener)
Registers new repository in the cluster
|
void |
RepositoriesService.unregisterRepository(RepositoriesService.UnregisterRepositoryRequest request,
ActionListener<ClusterStateUpdateResponse> listener)
Unregisters repository in the cluster
|
void |
VerifyNodeRepositoryAction.verify(String repository,
String verificationToken,
ActionListener<RepositoriesService.VerifyResponse> listener) |
void |
RepositoriesService.verifyRepository(String repositoryName,
ActionListener<RepositoriesService.VerifyResponse> listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
AcknowledgedRestListener<T extends AcknowledgedResponse> |
class |
RestActionListener<Response>
An action listener that requires
RestActionListener.processResponse(Object) to be implemented
and will automatically handle failures. |
class |
RestBuilderListener<Response>
A REST action listener that builds an
XContentBuilder based response. |
class |
RestResponseListener<Response>
A REST enabled action listener that has a basic onFailure implementation, and requires
sub classes to only implement
RestResponseListener.buildResponse(Object). |
class |
RestStatusToXContentListener<Response extends StatusToXContent> |
class |
RestToXContentListener<Response extends ToXContent>
A REST based action listener that assumes the response is of type
ToXContent and automatically
builds an XContent based response (wrapping the toXContent in startObject/endObject). |
| Modifier and Type | Method and Description |
|---|---|
void |
ScriptService.deleteScriptFromIndex(DeleteIndexedScriptRequest request,
ActionListener<DeleteResponse> listener) |
void |
ScriptService.putScriptToIndex(PutIndexedScriptRequest request,
ActionListener<IndexResponse> listener) |
void |
ScriptService.queryScriptIndex(GetIndexedScriptRequest request,
ActionListener<GetResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
RestoreService.addListener(ActionListener<RestoreService.RestoreCompletionResponse> listener)
Adds restore completion listener
|
void |
RestoreService.removeListener(ActionListener<RestoreService.RestoreCompletionResponse> listener)
Removes restore completion listener
|
void |
RestoreService.restoreSnapshot(RestoreService.RestoreRequest request,
ActionListener<RestoreInfo> listener)
Restores snapshot specified in the restore request.
|
Copyright © 2009–2017. All rights reserved.