Package io.trino.execution.scheduler
Interface StageScheduler
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
FixedCountScheduler,FixedSourcePartitionedScheduler,ScaledWriterScheduler
-
Method Details
-
schedule
ScheduleResult schedule()Schedules 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. -
close
default void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-