| Package | Description |
|---|---|
| io.prestosql.execution | |
| io.prestosql.operator | |
| io.prestosql.server |
| Modifier and Type | Field and Description |
|---|---|
static Set<TaskState> |
TaskState.TERMINAL_TASK_STATES |
| Modifier and Type | Method and Description |
|---|---|
TaskState |
TaskStateMachine.getState() |
TaskState |
TaskStatus.getState() |
static TaskState |
TaskState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskState[] |
TaskState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<TaskState> |
TaskStateMachine.getStateChange(TaskState currentState) |
| Modifier and Type | Method and Description |
|---|---|
static TaskStatus |
TaskStatus.failWith(TaskStatus taskStatus,
TaskState state,
List<ExecutionFailureInfo> exceptions) |
com.google.common.util.concurrent.ListenableFuture<TaskState> |
TaskStateMachine.getStateChange(TaskState currentState) |
com.google.common.util.concurrent.ListenableFuture<TaskInfo> |
TaskManager.getTaskInfo(TaskId taskId,
TaskState currentState)
Gets future info for the task after the state changes from
current state. |
com.google.common.util.concurrent.ListenableFuture<TaskInfo> |
SqlTaskManager.getTaskInfo(TaskId taskId,
TaskState currentState) |
com.google.common.util.concurrent.ListenableFuture<TaskInfo> |
SqlTask.getTaskInfo(TaskState callersCurrentState) |
com.google.common.util.concurrent.ListenableFuture<TaskStatus> |
TaskManager.getTaskStatus(TaskId taskId,
TaskState currentState)
Gets future status for the task after the state changes from
current state. |
com.google.common.util.concurrent.ListenableFuture<TaskStatus> |
SqlTaskManager.getTaskStatus(TaskId taskId,
TaskState currentState) |
com.google.common.util.concurrent.ListenableFuture<TaskStatus> |
SqlTask.getTaskStatus(TaskState callersCurrentState) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskStateMachine.addStateChangeListener(StateMachine.StateChangeListener<TaskState> stateChangeListener)
Listener is always notified asynchronously using a dedicated notification thread pool so, care should
be taken to avoid leaking
this when adding a listener in a constructor. |
void |
SqlTask.addStateChangeListener(StateMachine.StateChangeListener<TaskState> stateChangeListener)
Listener is always notified asynchronously using a dedicated notification thread pool so, care should
be taken to avoid leaking
this when adding a listener in a constructor. |
void |
TaskManager.addStateChangeListener(TaskId taskId,
StateMachine.StateChangeListener<TaskState> stateChangeListener)
Adds a state change listener to the specified task.
|
void |
SqlTaskManager.addStateChangeListener(TaskId taskId,
StateMachine.StateChangeListener<TaskState> stateChangeListener) |
| Constructor and Description |
|---|
TaskStatus(TaskId taskId,
String taskInstanceId,
long version,
TaskState state,
URI self,
String nodeId,
Set<Lifespan> completedDriverGroups,
List<ExecutionFailureInfo> failures,
int queuedPartitionedDrivers,
int runningPartitionedDrivers,
boolean outputBufferOverutilized,
io.airlift.units.DataSize physicalWrittenDataSize,
io.airlift.units.DataSize memoryReservation,
io.airlift.units.DataSize systemMemoryReservation,
io.airlift.units.DataSize revocableMemoryReservation,
long fullGcCount,
io.airlift.units.Duration fullGcTime) |
| Modifier and Type | Method and Description |
|---|---|
TaskState |
TaskContext.getState() |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskResource.getTaskInfo(TaskId taskId,
TaskState currentState,
io.airlift.units.Duration maxWait,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
TaskResource.getTaskStatus(TaskId taskId,
TaskState currentState,
io.airlift.units.Duration maxWait,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.container.AsyncResponse asyncResponse) |
Copyright © 2012–2019. All rights reserved.