public interface SchedulingServiceSPI extends SchedulingService
Modifier and Type | Method and Description |
---|---|
void |
apply(ScheduleSet scheduleSet)
Apply the set of schedules.
|
java.lang.Long |
getNearestTimeHandle() |
void |
init()
Initialization is optional and provides a chance to preload things after statements are available.
|
ScheduleSet |
take(java.util.Set<java.lang.Integer> statementId)
Take a statement's schedules out of the currently active set of schedules.
|
void |
visitSchedules(ScheduleVisitor visitor) |
add, destroy, evaluate, getFurthestTimeHandle, getScheduleHandleCount, getTimeHandleCount, isScheduled, remove, setTime
getTime
ScheduleSet take(java.util.Set<java.lang.Integer> statementId)
statementId
- statements to take outvoid apply(ScheduleSet scheduleSet)
scheduleSet
- to applyjava.lang.Long getNearestTimeHandle()
void visitSchedules(ScheduleVisitor visitor)
void init()