org.drools.time
Interface SchedulerService

All Known Subinterfaces:
TimerService
All Known Implementing Classes:
JDKTimerService, JpaJDKTimerService, PseudoClockScheduler

public interface SchedulerService


Method Summary
 boolean removeJob(JobHandle jobHandle)
          Remove the job identified by the given job handle from the scheduled queue
 JobHandle scheduleJob(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:


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.