Uses of Enum Class
io.trino.execution.TaskState
Packages that use TaskState
-
Uses of TaskState in io.trino.execution
Fields in io.trino.execution with type parameters of type TaskStateMethods in io.trino.execution that return TaskStateModifier and TypeMethodDescriptionTaskStateMachine.getState()TaskStatus.getState()SqlTask.getTaskState()static TaskStateReturns the enum constant of this class with the specified name.static TaskState[]TaskState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.trino.execution that return types with arguments of type TaskStateModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<TaskState> TaskStateMachine.getStateChange(TaskState currentState) Methods in io.trino.execution with parameters of type TaskStateModifier and TypeMethodDescriptionstatic TaskStatusTaskStatus.failWith(TaskStatus taskStatus, TaskState state, List<ExecutionFailureInfo> exceptions) com.google.common.util.concurrent.ListenableFuture<TaskState> TaskStateMachine.getStateChange(TaskState currentState) Method parameters in io.trino.execution with type arguments of type TaskStateModifier and TypeMethodDescriptionvoidSqlTask.addStateChangeListener(StateMachine.StateChangeListener<TaskState> stateChangeListener) Listener is always notified asynchronously using a dedicated notification thread pool so, care should be taken to avoid leakingthiswhen adding a listener in a constructor.voidSqlTaskManager.addStateChangeListener(TaskId taskId, StateMachine.StateChangeListener<TaskState> stateChangeListener) Adds a state change listener to the specified task.voidTaskStateMachine.addStateChangeListener(StateMachine.StateChangeListener<TaskState> stateChangeListener) Listener is always notified asynchronously using a dedicated notification thread pool so, care should be taken to avoid leakingthiswhen adding a listener in a constructor.Constructors in io.trino.execution with parameters of type TaskStateModifierConstructorDescriptionTaskStatus(TaskId taskId, String taskInstanceId, long version, TaskState state, URI self, String nodeId, boolean speculative, List<ExecutionFailureInfo> failures, int queuedPartitionedDrivers, int runningPartitionedDrivers, OutputBufferStatus outputBufferStatus, io.airlift.units.DataSize outputDataSize, io.airlift.units.DataSize writerInputDataSize, io.airlift.units.DataSize physicalWrittenDataSize, Optional<Integer> maxWriterCount, io.airlift.units.DataSize memoryReservation, io.airlift.units.DataSize peakMemoryReservation, io.airlift.units.DataSize revocableMemoryReservation, long fullGcCount, io.airlift.units.Duration fullGcTime, long dynamicFiltersVersion, long queuedPartitionedSplitsWeight, long runningPartitionedSplitsWeight) -
Uses of TaskState in io.trino.operator
Methods in io.trino.operator that return TaskState