org.drools.persistence.jpa
Class JpaJDKTimerService
java.lang.Object
org.drools.time.impl.JDKTimerService
org.drools.persistence.jpa.JpaJDKTimerService
- All Implemented Interfaces:
- SchedulerService, org.drools.time.SessionClock, TimerService
public class JpaJDKTimerService
- extends JDKTimerService
A default Scheduler implementation that uses the
JDK built-in ScheduledThreadPoolExecutor as the
scheduler and the system clock as the clock.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaJDKTimerService
public JpaJDKTimerService()
JpaJDKTimerService
public JpaJDKTimerService(int size)
setCommandService
public void setCommandService(CommandService commandService)
createCallableJob
protected Callable<Void> createCallableJob(Job job,
JobContext ctx,
Trigger trigger,
JDKTimerService.JDKJobHandle handle,
ScheduledThreadPoolExecutor scheduler)
- Overrides:
createCallableJob
in class JDKTimerService
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.