com.espertech.esper.schedule
Interface SchedulingServiceSPI

All Superinterfaces:
SchedulingService, TimeProvider
All Known Implementing Classes:
SchedulingServiceAudit, SchedulingServiceImpl

public interface SchedulingServiceSPI
extends SchedulingService

Service provider interface for scheduling service.


Method Summary
 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)
           
 
Methods inherited from interface com.espertech.esper.schedule.SchedulingService
add, destroy, evaluate, getFurthestTimeHandle, getScheduleHandleCount, getTimeHandleCount, isScheduled, remove, setTime
 
Methods inherited from interface com.espertech.esper.schedule.TimeProvider
getTime
 

Method Detail

take

ScheduleSet take(java.util.Set<java.lang.Integer> statementId)
Take a statement's schedules out of the currently active set of schedules.

Parameters:
statementId - statements to take out
Returns:
schedules

apply

void apply(ScheduleSet scheduleSet)
Apply the set of schedules.

Parameters:
scheduleSet - to apply

getNearestTimeHandle

java.lang.Long getNearestTimeHandle()

visitSchedules

void visitSchedules(ScheduleVisitor visitor)

init

void init()
Initialization is optional and provides a chance to preload things after statements are available.


© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com