| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportClusterHealthAction.masterOperation(Task task,
ClusterHealthRequest request,
ClusterState unusedState,
ActionListener<ClusterHealthResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CancelTasksRequest.match(Task task) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskInfo |
TransportListTasksAction.taskOperation(ListTasksRequest request,
Task task) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportListTasksAction.processTasks(ListTasksRequest request,
Consumer<Task> operation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportCloseIndexAction.doExecute(Task task,
CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteIndexAction.doExecute(Task task,
DeleteIndexRequest request,
ActionListener<DeleteIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportOpenIndexAction.doExecute(Task task,
OpenIndexRequest request,
ActionListener<OpenIndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportUpgradeAction.doExecute(Task task,
UpgradeRequest request,
ActionListener<UpgradeResponse> 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 |
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 |
TransportIndexAction.doExecute(Task task,
IndexRequest request,
ActionListener<IndexResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportPercolateAction.doExecute(Task task,
PercolateRequest request,
ActionListener<PercolateResponse> listener) |
| Modifier and Type | Method and Description |
|---|---|
Task |
ChildTaskRequest.createTask(long id,
String type,
String action) |
Task |
ChildTaskActionRequest.createTask(long id,
String type,
String action) |
Task |
ChildTaskRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
Task |
ChildTaskActionRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
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.
|
Task |
TransportAction.execute(Request request,
TaskListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
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 void |
TransportAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
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 |
ActionFilterChain.proceed(Task task,
String action,
ActionRequest request,
ActionListener listener)
Continue processing the request.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportBroadcastAction.doExecute(Task task,
Request request,
ActionListener<Response> listener) |
protected ShardResponse |
TransportBroadcastAction.shardOperation(ShardRequest request,
Task task) |
| Constructor and Description |
|---|
TransportBroadcastAction.AsyncBroadcastAction(Task task,
Request request,
ActionListener<Response> listener) |
| Modifier and Type | Method and Description |
|---|---|
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(Task task,
Request request,
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 void |
TransportNodesAction.doExecute(Task task,
NodesRequest request,
ActionListener<NodesResponse> listener) |
protected NodeResponse |
TransportNodesAction.nodeOperation(NodeRequest request,
Task task) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReplicationTask
Task that tracks replication actions.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
ReplicationRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
| Modifier and Type | Method and Description |
|---|---|
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 | Class and Description |
|---|---|
class |
TransportTasksAction<OperationTask extends Task,TasksRequest extends BaseTasksRequest<TasksRequest>,TasksResponse extends BaseTasksResponse,TaskResponse extends Writeable<TaskResponse>>
The base class for transport actions that are interacting with currently running tasks.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportTasksAction.doExecute(Task task,
TasksRequest request,
ActionListener<TasksResponse> listener) |
boolean |
BaseTasksRequest.match(Task task) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDfsOnlyAction.doExecute(Task task,
DfsOnlyRequest request,
ActionListener<DfsOnlyResponse> listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
CancellableTask
A task that can be canceled
|
| Modifier and Type | Method and Description |
|---|---|
Task |
TaskManager.getTask(long id)
Returns a task with given id, or null if the task is not found.
|
Task |
TaskManager.register(String type,
String action,
TransportRequest request)
Registers a task without parent task
|
Task |
TaskManager.unregister(Task task)
Unregister the task
|
| Modifier and Type | Method and Description |
|---|---|
Map<Long,Task> |
TaskManager.getTasks()
Returns the list of currently running tasks on the node
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskListener.onFailure(Task task,
Throwable e)
A failure caused by an exception at some phase of the task.
|
void |
LoggingTaskListener.onFailure(Task task,
Throwable e) |
void |
TaskListener.onResponse(Task task,
Response response)
Handle task response.
|
void |
LoggingTaskListener.onResponse(Task task,
Response response) |
void |
TaskManager.registerChildTask(Task task,
String node) |
Task |
TaskManager.unregister(Task task)
Unregister the task
|
| Modifier and Type | Method and Description |
|---|---|
Task |
TransportRequest.createTask(long id,
String type,
String action)
Returns the task object that should be used to keep track of the processing of the request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransportRequestHandler.messageReceived(T request,
TransportChannel channel,
Task task)
Override this method if access to the Task parameter is needed
|
Copyright © 2009–2017. All rights reserved.