Package io.trino.execution.scheduler
Class FixedCountScheduler
java.lang.Object
io.trino.execution.scheduler.FixedCountScheduler
- All Implemented Interfaces:
StageScheduler,Closeable,AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFixedCountScheduler(FixedCountScheduler.TaskScheduler taskScheduler, List<InternalNode> partitionToNode) FixedCountScheduler(StageExecution stageExecution, List<InternalNode> partitionToNode) -
Method Summary
Modifier and TypeMethodDescriptionschedule()Schedules as much work as possible without blocking.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.execution.scheduler.StageScheduler
close, start
-
Constructor Details
-
FixedCountScheduler
-
FixedCountScheduler
public FixedCountScheduler(FixedCountScheduler.TaskScheduler taskScheduler, List<InternalNode> partitionToNode)
-
-
Method Details
-
schedule
Description copied from interface:StageSchedulerSchedules as much work as possible without blocking. The schedule results is a hint to the query scheduler if and when the stage scheduler should be invoked again. It is important to note that this is only a hint and the query scheduler may call the schedule method at any time.- Specified by:
schedulein interfaceStageScheduler
-