public interface SchedulingServiceSPI extends SchedulingService
Modifier and Type | Method and Description |
---|---|
void |
apply(ScheduleSet scheduleSet)
Apply the set of schedules.
|
Long |
getNearestTimeHandle() |
void |
init()
Initialization is optional and provides a chance to preload things after statements are available.
|
ScheduleSet |
take(Set<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(Set<Integer> statementId)
statementId
- statements to take outvoid apply(ScheduleSet scheduleSet)
scheduleSet
- to applyLong getNearestTimeHandle()
void visitSchedules(ScheduleVisitor visitor)
void init()