Package org.drools.core.time
Interface Scheduler
-
public interface Scheduler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
removeJob(JobHandle jobHandle)
Remove the job identified by the given job handle from the scheduled queueJobHandle
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:
-
-