Interface StageScheduler

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
FixedCountScheduler, FixedSourcePartitionedScheduler, ScaledWriterScheduler

public interface StageScheduler extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    Schedules as much work as possible without blocking.
  • 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:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable