| Modifier and Type | Method and Description |
|---|---|
TaskId |
TaskInfo.getParentTaskId()
Returns the parent task id
|
TaskId |
TaskInfo.getTaskId() |
| Constructor and Description |
|---|
TaskInfo(DiscoveryNode node,
long id,
String type,
String action,
String description,
Task.Status status,
long startTime,
long runningTimeNanos,
TaskId parentTaskId) |
| Modifier and Type | Method and Description |
|---|---|
Task |
ChildTaskRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
Task |
ChildTaskActionRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
| Modifier and Type | Method and Description |
|---|---|
Task |
ReplicationRequest.createTask(long id,
String type,
String action,
TaskId parentTaskId) |
| Constructor and Description |
|---|
ReplicationTask(long id,
String type,
String action,
String description,
TaskId parentTaskId) |
| Modifier and Type | Method and Description |
|---|---|
TaskId |
BaseTasksRequest.getParentTaskId()
Returns the parent task id that tasks should be filtered by
|
TaskId |
BaseTasksRequest.getTaskId()
Returns the id of the task that should be processed.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseTasksRequest.setParentTaskId(TaskId parentTaskId) |
T |
BaseTasksRequest.setTaskId(TaskId taskId) |
| Modifier and Type | Field and Description |
|---|---|
static TaskId |
TaskId.EMPTY_TASK_ID |
| Modifier and Type | Method and Description |
|---|---|
TaskId |
Task.getParentTaskId()
Returns id of the parent task or NO_PARENT_ID if the task doesn't have any parent tasks
|
TaskId |
TaskId.readFrom(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskManager.removeBan(TaskId parentTaskId)
Removes the ban for the specified parent task.
|
void |
TaskManager.setBan(TaskId parentTaskId,
String reason)
Bans all tasks with the specified parent task from execution, cancels all tasks that are currently executing.
|
| Constructor and Description |
|---|
CancellableTask(long id,
String type,
String action,
String description,
TaskId parentTaskId) |
Task(long id,
String type,
String action,
String description,
TaskId parentTask) |
Task(long id,
String type,
String action,
String description,
TaskId parentTask,
long startTime,
long startTimeNanos) |
Copyright © 2009–2017. All rights reserved.