Uses of Class
org.elasticsearch.tasks.Task
-
-
Uses of Task in org.elasticsearch.action.admin.cluster.health
Methods in org.elasticsearch.action.admin.cluster.health with parameters of type Task Modifier and Type Method Description protected voidTransportClusterHealthAction. masterOperation(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.cluster.node.liveness
Methods in org.elasticsearch.action.admin.cluster.node.liveness with parameters of type Task Modifier and Type Method Description voidTransportLivenessAction. messageReceived(LivenessRequest request, TransportChannel channel, Task task) -
Uses of Task in org.elasticsearch.action.admin.cluster.node.tasks.cancel
Methods in org.elasticsearch.action.admin.cluster.node.tasks.cancel with parameters of type Task Modifier and Type Method Description booleanCancelTasksRequest. match(Task task) -
Uses of Task in org.elasticsearch.action.admin.cluster.node.tasks.get
Methods in org.elasticsearch.action.admin.cluster.node.tasks.get with parameters of type Task Modifier and Type Method Description protected voidTransportGetTaskAction. doExecute(Task thisTask, GetTaskRequest request, ActionListener<GetTaskResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.cluster.node.tasks.list
Methods in org.elasticsearch.action.admin.cluster.node.tasks.list with parameters of type Task Modifier and Type Method Description protected voidTransportListTasksAction. taskOperation(ListTasksRequest request, Task task, ActionListener<TaskInfo> listener)Method parameters in org.elasticsearch.action.admin.cluster.node.tasks.list with type arguments of type Task Modifier and Type Method Description protected voidTransportListTasksAction. processTasks(ListTasksRequest request, Consumer<Task> operation) -
Uses of Task in org.elasticsearch.action.admin.cluster.remote
Methods in org.elasticsearch.action.admin.cluster.remote with parameters of type Task Modifier and Type Method Description protected voidTransportRemoteInfoAction. doExecute(Task task, RemoteInfoRequest remoteInfoRequest, ActionListener<RemoteInfoResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.close
Methods in org.elasticsearch.action.admin.indices.close with parameters of type Task Modifier and Type Method Description protected voidTransportCloseIndexAction. doExecute(Task task, CloseIndexRequest request, ActionListener<CloseIndexResponse> listener)protected voidTransportCloseIndexAction. masterOperation(Task task, CloseIndexRequest request, ClusterState state, ActionListener<CloseIndexResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.delete
Methods in org.elasticsearch.action.admin.indices.delete with parameters of type Task Modifier and Type Method Description protected voidTransportDeleteIndexAction. doExecute(Task task, DeleteIndexRequest request, ActionListener<AcknowledgedResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.flush
Methods in org.elasticsearch.action.admin.indices.flush with parameters of type Task Modifier and Type Method Description protected voidTransportSyncedFlushAction. doExecute(Task task, SyncedFlushRequest request, ActionListener<SyncedFlushResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.mapping.get
Methods in org.elasticsearch.action.admin.indices.mapping.get with parameters of type Task Modifier and Type Method Description protected voidTransportGetFieldMappingsAction. doExecute(Task task, GetFieldMappingsRequest request, ActionListener<GetFieldMappingsResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.open
Methods in org.elasticsearch.action.admin.indices.open with parameters of type Task Modifier and Type Method Description protected voidTransportOpenIndexAction. doExecute(Task task, OpenIndexRequest request, ActionListener<OpenIndexResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.rollover
Methods in org.elasticsearch.action.admin.indices.rollover with parameters of type Task Modifier and Type Method Description protected voidTransportRolloverAction. masterOperation(Task task, RolloverRequest rolloverRequest, ClusterState state, ActionListener<RolloverResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.upgrade.post
Methods in org.elasticsearch.action.admin.indices.upgrade.post with parameters of type Task Modifier and Type Method Description protected voidTransportUpgradeAction. doExecute(Task task, UpgradeRequest request, ActionListener<UpgradeResponse> listener) -
Uses of Task in org.elasticsearch.action.admin.indices.validate.query
Methods in org.elasticsearch.action.admin.indices.validate.query with parameters of type Task Modifier and Type Method Description protected voidTransportValidateQueryAction. doExecute(Task task, ValidateQueryRequest request, ActionListener<ValidateQueryResponse> listener)protected org.elasticsearch.action.admin.indices.validate.query.ShardValidateQueryResponseTransportValidateQueryAction. shardOperation(ShardValidateQueryRequest request, Task task) -
Uses of Task in org.elasticsearch.action.bulk
Methods in org.elasticsearch.action.bulk with parameters of type Task Modifier and Type Method Description protected voidTransportBulkAction. doExecute(Task task, BulkRequest bulkRequest, ActionListener<BulkResponse> listener)protected voidTransportSingleItemBulkWriteAction. doExecute(Task task, Request request, ActionListener<Response> listener)Deprecated. -
Uses of Task in org.elasticsearch.action.explain
Methods in org.elasticsearch.action.explain with parameters of type Task Modifier and Type Method Description protected voidTransportExplainAction. doExecute(Task task, ExplainRequest request, ActionListener<ExplainResponse> listener) -
Uses of Task in org.elasticsearch.action.fieldcaps
Methods in org.elasticsearch.action.fieldcaps with parameters of type Task Modifier and Type Method Description protected voidTransportFieldCapabilitiesAction. doExecute(Task task, FieldCapabilitiesRequest request, ActionListener<FieldCapabilitiesResponse> listener) -
Uses of Task in org.elasticsearch.action.get
Methods in org.elasticsearch.action.get with parameters of type Task Modifier and Type Method Description protected voidTransportMultiGetAction. doExecute(Task task, MultiGetRequest request, ActionListener<MultiGetResponse> listener) -
Uses of Task in org.elasticsearch.action.ingest
Methods in org.elasticsearch.action.ingest with parameters of type Task Modifier and Type Method Description protected voidSimulatePipelineTransportAction. doExecute(Task task, SimulatePipelineRequest request, ActionListener<SimulatePipelineResponse> listener) -
Uses of Task in org.elasticsearch.action.main
Methods in org.elasticsearch.action.main with parameters of type Task Modifier and Type Method Description protected voidTransportMainAction. doExecute(Task task, MainRequest request, ActionListener<MainResponse> listener) -
Uses of Task in org.elasticsearch.action.resync
Methods in org.elasticsearch.action.resync with parameters of type Task Modifier and Type Method Description voidTransportResyncReplicationAction. sync(ResyncReplicationRequest request, Task parentTask, String primaryAllocationId, long primaryTerm, ActionListener<ResyncReplicationResponse> listener) -
Uses of Task in org.elasticsearch.action.search
Subclasses of Task in org.elasticsearch.action.search Modifier and Type Class Description classSearchTaskTask storing information about a currently running search request.Methods in org.elasticsearch.action.search that return Task Modifier and Type Method Description TaskSearchRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)TaskSearchScrollRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)Methods in org.elasticsearch.action.search with parameters of type Task Modifier and Type Method Description protected voidTransportClearScrollAction. doExecute(Task task, ClearScrollRequest request, ActionListener<ClearScrollResponse> listener)protected voidTransportMultiSearchAction. doExecute(Task task, MultiSearchRequest request, ActionListener<MultiSearchResponse> listener)protected voidTransportSearchAction. doExecute(Task task, SearchRequest searchRequest, ActionListener<SearchResponse> listener)protected voidTransportSearchScrollAction. doExecute(Task task, SearchScrollRequest request, ActionListener<SearchResponse> listener) -
Uses of Task in org.elasticsearch.action.support
Methods in org.elasticsearch.action.support that return Task Modifier and Type Method Description TaskTransportAction. 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.TaskTransportAction. execute(Request request, TaskListener<Response> listener)Execute the transport action on the local node, returning theTaskused to track its execution and accepting aTaskListenerwhich listens for the completion of the action.Methods in org.elasticsearch.action.support with parameters of type Task Modifier and Type Method Description <Request extends ActionRequest,Response extends ActionResponse>
voidActionFilter. apply(Task task, String action, Request request, ActionListener<Response> listener, ActionFilterChain<Request,Response> chain)Enables filtering the execution of an action on the request side, either by sending a response through theActionListeneror by continuing the execution through the givenchain<Request extends ActionRequest,Response extends ActionResponse>
voidActionFilter.Simple. apply(Task task, String action, Request request, ActionListener<Response> listener, ActionFilterChain<Request,Response> chain)protected abstract voidTransportAction. doExecute(Task task, Request request, ActionListener<Response> listener)voidTransportAction. 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 taskvoidActionFilterChain. proceed(Task task, String action, Request request, ActionListener<Response> listener)Continue processing the request. -
Uses of Task in org.elasticsearch.action.support.broadcast
Methods in org.elasticsearch.action.support.broadcast with parameters of type Task Modifier and Type Method Description protected voidTransportBroadcastAction. doExecute(Task task, Request request, ActionListener<Response> listener)protected abstract ShardResponseTransportBroadcastAction. shardOperation(ShardRequest request, Task task)Constructors in org.elasticsearch.action.support.broadcast with parameters of type Task Constructor Description AsyncBroadcastAction(Task task, Request request, ActionListener<Response> listener) -
Uses of Task in org.elasticsearch.action.support.broadcast.node
Methods in org.elasticsearch.action.support.broadcast.node with parameters of type Task Modifier and Type Method Description protected voidTransportBroadcastByNodeAction. doExecute(Task task, Request request, ActionListener<Response> listener)Constructors in org.elasticsearch.action.support.broadcast.node with parameters of type Task Constructor Description AsyncAction(Task task, Request request, ActionListener<Response> listener) -
Uses of Task in org.elasticsearch.action.support.master
Methods in org.elasticsearch.action.support.master with parameters of type Task Modifier and Type Method Description protected voidTransportMasterNodeAction. doExecute(Task task, Request request, ActionListener<Response> listener)protected voidTransportMasterNodeAction. masterOperation(Task task, Request request, ClusterState state, ActionListener<Response> listener)Override this operation if access to the task parameter is needed -
Uses of Task in org.elasticsearch.action.support.nodes
Methods in org.elasticsearch.action.support.nodes with parameters of type Task Modifier and Type Method Description protected voidTransportNodesAction. doExecute(Task task, NodesRequest request, ActionListener<NodesResponse> listener)protected NodeResponseTransportNodesAction. nodeOperation(NodeRequest request, Task task) -
Uses of Task in org.elasticsearch.action.support.replication
Subclasses of Task in org.elasticsearch.action.support.replication Modifier and Type Class Description classReplicationTaskTask that tracks replication actions.Methods in org.elasticsearch.action.support.replication that return Task Modifier and Type Method Description TaskReplicationRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)TaskTransportReplicationAction.ConcreteShardRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)Methods in org.elasticsearch.action.support.replication with parameters of type Task Modifier and Type Method Description protected voidTransportBroadcastReplicationAction. doExecute(Task task, Request request, ActionListener<Response> listener)protected voidTransportReplicationAction. doExecute(Task task, Request request, ActionListener<Response> listener)protected voidTransportReplicationAction. handleOperationRequest(Request request, TransportChannel channel, Task task)protected voidTransportReplicationAction. handlePrimaryRequest(TransportReplicationAction.ConcreteShardRequest<Request> request, TransportChannel channel, Task task)protected voidTransportReplicationAction. handleReplicaRequest(TransportReplicationAction.ConcreteReplicaRequest<ReplicaRequest> replicaRequest, TransportChannel channel, Task task)protected voidTransportBroadcastReplicationAction. shardExecute(Task task, Request request, ShardId shardId, ActionListener<ShardResponse> shardActionListener) -
Uses of Task in org.elasticsearch.action.support.single.instance
Methods in org.elasticsearch.action.support.single.instance with parameters of type Task Modifier and Type Method Description protected voidTransportInstanceSingleOperationAction. doExecute(Task task, Request request, ActionListener<Response> listener) -
Uses of Task in org.elasticsearch.action.support.single.shard
Methods in org.elasticsearch.action.support.single.shard with parameters of type Task Modifier and Type Method Description protected voidTransportSingleShardAction. doExecute(Task task, Request request, ActionListener<Response> listener) -
Uses of Task in org.elasticsearch.action.support.tasks
Classes in org.elasticsearch.action.support.tasks with type parameters of type Task Modifier and Type Class Description classTransportTasksAction<OperationTask extends Task,TasksRequest extends BaseTasksRequest<TasksRequest>,TasksResponse extends BaseTasksResponse,TaskResponse extends Writeable>The base class for transport actions that are interacting with currently running tasks.Methods in org.elasticsearch.action.support.tasks with parameters of type Task Modifier and Type Method Description protected voidTransportTasksAction. doExecute(Task task, TasksRequest request, ActionListener<TasksResponse> listener)booleanBaseTasksRequest. match(Task task) -
Uses of Task in org.elasticsearch.action.termvectors
Methods in org.elasticsearch.action.termvectors with parameters of type Task Modifier and Type Method Description protected voidTransportMultiTermVectorsAction. doExecute(Task task, MultiTermVectorsRequest request, ActionListener<MultiTermVectorsResponse> listener) -
Uses of Task in org.elasticsearch.action.update
Methods in org.elasticsearch.action.update with parameters of type Task Modifier and Type Method Description protected voidTransportUpdateAction. doExecute(Task task, UpdateRequest request, ActionListener<UpdateResponse> listener) -
Uses of Task in org.elasticsearch.client.node
Methods in org.elasticsearch.client.node that return Task Modifier and Type Method Description <Request extends ActionRequest,Response extends ActionResponse>
TaskNodeClient. executeLocally(ActionType<Response> action, Request request, ActionListener<Response> listener)<Request extends ActionRequest,Response extends ActionResponse>
TaskNodeClient. executeLocally(ActionType<Response> action, Request request, TaskListener<Response> listener) -
Uses of Task in org.elasticsearch.index.reindex
Subclasses of Task in org.elasticsearch.index.reindex Modifier and Type Class Description classBulkByScrollTaskTask storing information about a currently running BulkByScroll request.Methods in org.elasticsearch.index.reindex that return Task Modifier and Type Method Description TaskAbstractBulkByScrollRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers) -
Uses of Task in org.elasticsearch.index.shard
Subclasses of Task in org.elasticsearch.index.shard Modifier and Type Class Description static classPrimaryReplicaSyncer.ResyncTaskMethods in org.elasticsearch.index.shard that return Task Modifier and Type Method Description TaskPrimaryReplicaSyncer.ResyncRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)Methods in org.elasticsearch.index.shard with parameters of type Task Modifier and Type Method Description voidPrimaryReplicaSyncer.SyncAction. sync(ResyncReplicationRequest request, Task parentTask, String primaryAllocationId, long primaryTerm, ActionListener<ResyncReplicationResponse> listener) -
Uses of Task in org.elasticsearch.persistent
Subclasses of Task in org.elasticsearch.persistent Modifier and Type Class Description classAllocatedPersistentTaskRepresents a executor node operation that corresponds to a persistent task -
Uses of Task in org.elasticsearch.search.fetch
Methods in org.elasticsearch.search.fetch that return Task Modifier and Type Method Description TaskShardFetchRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers) -
Uses of Task in org.elasticsearch.search.internal
Methods in org.elasticsearch.search.internal that return Task Modifier and Type Method Description TaskInternalScrollSearchRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)TaskShardSearchRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers) -
Uses of Task in org.elasticsearch.search.query
Methods in org.elasticsearch.search.query that return Task Modifier and Type Method Description TaskQuerySearchRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers) -
Uses of Task in org.elasticsearch.tasks
Subclasses of Task in org.elasticsearch.tasks Modifier and Type Class Description classCancellableTaskA task that can be canceledMethods in org.elasticsearch.tasks that return Task Modifier and Type Method Description default TaskTaskAwareRequest. createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)Returns the task object that should be used to keep track of the processing of the request.TaskTaskManager. getTask(long id)Returns a task with given id, or null if the task is not found.TaskTaskManager. register(String type, String action, TaskAwareRequest request)Registers a task without parent taskTaskTaskManager. unregister(Task task)Unregister the taskMethods in org.elasticsearch.tasks that return types with arguments of type Task Modifier and Type Method Description Map<Long,Task>TaskManager. getTasks()Returns the list of currently running tasks on the nodeMethods in org.elasticsearch.tasks with parameters of type Task Modifier and Type Method Description voidTaskListener. onFailure(Task task, Exception e)A failure caused by an exception at some phase of the task.voidTaskListener. onResponse(Task task, Response response)Handle task response.<Response extends ActionResponse>
voidTaskManager. storeResult(Task task, Exception error, ActionListener<Response> listener)Stores the task failure<Response extends ActionResponse>
voidTaskManager. storeResult(Task task, Response response, ActionListener<Response> listener)Stores the task resultTaskTaskManager. unregister(Task task)Unregister the taskvoidTaskManager. waitForTaskCompletion(Task task, long untilInNanos)Blocks the calling thread, waiting for the task to vanish from the TaskManager. -
Uses of Task in org.elasticsearch.transport
Methods in org.elasticsearch.transport with parameters of type Task Modifier and Type Method Description voidTransportRequestHandler. messageReceived(T request, TransportChannel channel, Task task)<T extends TransportResponse>
voidTransportService. sendChildRequest(DiscoveryNode node, String action, TransportRequest request, Task parentTask, TransportRequestOptions options, TransportResponseHandler<T> handler)<T extends TransportResponse>
voidTransportService. sendChildRequest(Transport.Connection connection, String action, TransportRequest request, Task parentTask, TransportRequestOptions options, TransportResponseHandler<T> handler)<T extends TransportResponse>
voidTransportService. sendChildRequest(Transport.Connection connection, String action, TransportRequest request, Task parentTask, TransportResponseHandler<T> handler)
-