Package io.trino.execution.scheduler
Class FaultTolerantStageScheduler
- java.lang.Object
-
- io.trino.execution.scheduler.FaultTolerantStageScheduler
-
public class FaultTolerantStageScheduler extends Object
-
-
Constructor Summary
Constructors Constructor Description FaultTolerantStageScheduler(Session session, SqlStage stage, FailureDetector failureDetector, TaskSourceFactory taskSourceFactory, NodeAllocator nodeAllocator, TaskLifecycleListener taskLifecycleListener, Optional<Exchange> sinkExchange, Optional<int[]> sinkBucketToPartitionMap, Map<PlanFragmentId,Exchange> sourceExchanges, Optional<int[]> sourceBucketToPartitionMap, Optional<BucketNodeMap> sourceBucketNodeMap, int retryAttempts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()voidcancel()StageIdgetStageId()com.google.common.util.concurrent.ListenableFuture<Void>isBlocked()booleanisFinished()voidreportTaskFailure(TaskId taskId, Throwable failureCause)voidschedule()
-
-
-
Constructor Detail
-
FaultTolerantStageScheduler
public FaultTolerantStageScheduler(Session session, SqlStage stage, FailureDetector failureDetector, TaskSourceFactory taskSourceFactory, NodeAllocator nodeAllocator, TaskLifecycleListener taskLifecycleListener, Optional<Exchange> sinkExchange, Optional<int[]> sinkBucketToPartitionMap, Map<PlanFragmentId,Exchange> sourceExchanges, Optional<int[]> sourceBucketToPartitionMap, Optional<BucketNodeMap> sourceBucketNodeMap, int retryAttempts)
-
-