Interface QSchedulerInterface
- All Known Implementing Classes:
QuartzScheduler
,SimpleScheduler
public interface QSchedulerInterface
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
called to indicate that the schedule manager is past its startup routine, but that the schedule should not actually be running in this process.default void
let the scheduler know when the schedule manager is at the end of setting up schedules.boolean
isScheduled
(BasicSchedulableIdentity schedulableIdentity, SchedulableType schedulableType) void
setupSchedulable
(SchedulableIdentity schedulableIdentity, SchedulableType schedulableType, Map<String, Serializable> parameters, QScheduleMetaData schedule, boolean allowedToStart) void
start()
default void
let the scheduler know when the schedule manager is at the start of setting up schedules.void
stop()
void
default void
unInit()
Handle a whole shutdown of the scheduler system (e.g., between unit tests).void
void
unscheduleSchedulable
(SchedulableIdentity schedulableIdentity, SchedulableType schedulableType)
-
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
-
unscheduleAll
- 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.
-