| Package | Description |
|---|---|
| org.elasticsearch.action.admin.cluster.node.tasks.cancel | |
| org.elasticsearch.tasks |
| Modifier and Type | Method and Description |
|---|---|
protected TaskInfo |
TransportCancelTasksAction.taskOperation(CancelTasksRequest request,
CancellableTask cancellableTask) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportCancelTasksAction.processTasks(CancelTasksRequest request,
Consumer<CancellableTask> operation) |
| Modifier and Type | Method and Description |
|---|---|
CancellableTask |
TaskManager.getCancellableTask(long id)
Returns a cancellable task with given id, or null if the task is not found.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Long,CancellableTask> |
TaskManager.getCancellableTasks()
Returns the list of currently running tasks on the node that can be cancelled
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
TaskManager.cancel(CancellableTask task,
String reason,
Consumer<Set<String>> listener)
Cancels a task
|
Copyright © 2009–2017. All rights reserved.