Package org.drools.core.time
Interface SchedulerService
-
- All Known Subinterfaces:
TimerService
- All Known Implementing Classes:
JDKTimerService,PseudoClockScheduler
public interface SchedulerService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanremoveJob(JobHandle jobHandle)Remove the job identified by the given job handle from the scheduled queueJobHandlescheduleJob(Job job, JobContext ctx, Trigger trigger)Schedule a job for later execution
-
-
-
Method Detail
-
scheduleJob
JobHandle scheduleJob(Job job, JobContext ctx, Trigger trigger)
Schedule a job for later execution- Parameters:
job-ctx-trigger-- Returns:
-
removeJob
boolean removeJob(JobHandle jobHandle)
Remove the job identified by the given job handle from the scheduled queue- Parameters:
jobHandle- the job identity handle- Returns:
-
-