Interface QSchedulerInterface

All Known Implementing Classes:
QuartzScheduler, SimpleScheduler

public interface QSchedulerInterface
  • Method Details

    • getSchedulerName

      String getSchedulerName()
    • start

      void start()
    • doNotStart

      default void doNotStart()
      called to indicate that the schedule manager is past its startup routine, but that the schedule should not actually be running in this process.
    • setupSchedulable

      void setupSchedulable(SchedulableIdentity schedulableIdentity, SchedulableType schedulableType, Map<String,Serializable> parameters, QScheduleMetaData schedule, boolean allowedToStart)
    • unscheduleSchedulable

      void unscheduleSchedulable(SchedulableIdentity schedulableIdentity, SchedulableType schedulableType)
    • isScheduled

      boolean isScheduled(BasicSchedulableIdentity schedulableIdentity, SchedulableType schedulableType)
    • unscheduleAll

      void unscheduleAll() throws QException
      Throws:
      QException
    • stopAsync

      void stopAsync()
    • stop

      void stop()
    • unInit

      default void unInit()
      Handle a whole shutdown of the scheduler system (e.g., between unit tests).
    • startOfSetupSchedules

      default void startOfSetupSchedules()
      let the scheduler know when the schedule manager is at the start of setting up schedules.
    • endOfSetupSchedules

      default void endOfSetupSchedules()
      let the scheduler know when the schedule manager is at the end of setting up schedules.