Uses of Class
io.trino.execution.TaskInfo
Packages that use TaskInfo
Package
Description
-
Uses of TaskInfo in io.trino.execution
Methods in io.trino.execution that return TaskInfoModifier and TypeMethodDescriptionSqlTask.abort()Aborts a task.SqlTask.abortTaskResults(OutputBuffers.OutputBufferId bufferId) SqlTaskManager.abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId) TaskManager.abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId) Aborts a result buffer for a task.SqlTask.cancel()SqlTaskManager.cancelTask(TaskId taskId) TaskManager.cancelTask(TaskId taskId) Cancels a task.static TaskInfoTaskInfo.createInitialTask(TaskId taskId, URI location, String nodeId, List<BufferInfo> bufferStates, TaskStats taskStats) Fail a task.RemoteTask.getTaskInfo()SqlTask.getTaskInfo()SqlTaskManager.getTaskInfo(TaskId taskId) TaskManager.getTaskInfo(TaskId taskId) Gets the info for the specified task.TaskInfo.summarize()SqlTask.updateTask(Session session, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains) SqlTaskManager.updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains) TaskManager.updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains) Updates the task plan, sources and output buffers.TaskInfo.withTaskStatus(TaskStatus newTaskStatus) Methods in io.trino.execution that return types with arguments of type TaskInfoModifier and TypeMethodDescriptionSqlTaskManager.getAllTaskInfo()TaskManager.getAllTaskInfo()Gets all of the currently tracked tasks.com.google.common.util.concurrent.ListenableFuture<TaskInfo>SqlTask.getTaskInfo(long callersCurrentVersion) com.google.common.util.concurrent.ListenableFuture<TaskInfo>SqlTaskManager.getTaskInfo(TaskId taskId, long currentVersion) com.google.common.util.concurrent.ListenableFuture<TaskInfo>TaskManager.getTaskInfo(TaskId taskId, long currentVersion) Gets future info for the task after the state changes fromcurrent state.StageInfo.getTasks()Method parameters in io.trino.execution with type arguments of type TaskInfoModifier and TypeMethodDescriptionvoidRemoteTask.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) Add a listener for the final task info.StageStateMachine.getBasicStageStats(Supplier<Iterable<TaskInfo>> taskInfosSupplier) StageStateMachine.getStageInfo(Supplier<Iterable<TaskInfo>> taskInfosSupplier) voidStageStateMachine.setAllTasksFinal(Iterable<TaskInfo> finalTaskInfos) -
Uses of TaskInfo in io.trino.server
Methods in io.trino.server that return TaskInfoModifier and TypeMethodDescriptionTaskResource.deleteTask(TaskId taskId, boolean abort, javax.ws.rs.core.UriInfo uriInfo) Methods in io.trino.server that return types with arguments of type TaskInfo -
Uses of TaskInfo in io.trino.server.remotetask
Methods in io.trino.server.remotetask that return TaskInfoMethods in io.trino.server.remotetask with parameters of type TaskInfoMethod parameters in io.trino.server.remotetask with type arguments of type TaskInfoModifier and TypeMethodDescriptionvoidHttpRemoteTask.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) voidTaskInfoFetcher.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) Add a listener for the final task info.Constructors in io.trino.server.remotetask with parameters of type TaskInfoModifierConstructorDescriptionTaskInfoFetcher(Consumer<Throwable> onFail, io.trino.server.remotetask.ContinuousTaskStatusFetcher taskStatusFetcher, TaskInfo initialTask, io.airlift.http.client.HttpClient httpClient, io.airlift.units.Duration updateInterval, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.units.Duration maxErrorDuration, boolean summarizeTaskInfo, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, RemoteTaskStats stats) Constructor parameters in io.trino.server.remotetask with type arguments of type TaskInfoModifierConstructorDescriptionTaskInfoFetcher(Consumer<Throwable> onFail, io.trino.server.remotetask.ContinuousTaskStatusFetcher taskStatusFetcher, TaskInfo initialTask, io.airlift.http.client.HttpClient httpClient, io.airlift.units.Duration updateInterval, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.units.Duration maxErrorDuration, boolean summarizeTaskInfo, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, RemoteTaskStats stats) -
Uses of TaskInfo in io.trino.sql.planner.planprinter
Method parameters in io.trino.sql.planner.planprinter with type arguments of type TaskInfoModifier and TypeMethodDescriptionstatic Map<PlanNodeId,PlanNodeStats> PlanNodeStatsSummarizer.aggregateTaskStats(List<TaskInfo> taskInfos)