org.drools.time
Interface SchedulerService
- All Known Subinterfaces:
- TimerService
- All Known Implementing Classes:
- JDKTimerService, PseudoClockScheduler
public interface SchedulerService
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:
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.