|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession
public class JobExecutorTimerSession
Timers created with this service are committed at the end of the transaction, so their execution will be late if the delay is shorter than the transaction. In that case, they will be executed at the end of the transaction.
| Constructor Summary | |
|---|---|
JobExecutorTimerSession()
|
|
| Method Summary | |
|---|---|
void |
cancel(Timer timer)
Cancels a timer. |
java.util.List<Timer> |
findTimersByExecution(Execution execution)
retrieve all the outstanding timers associated for the given execution |
void |
schedule(Timer timer)
Schedule the execution of a timer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobExecutorTimerSession()
| Method Detail |
|---|
public void schedule(Timer timer)
TimerSession
schedule in interface TimerSessionpublic void cancel(Timer timer)
TimerSession
cancel in interface TimerSessionpublic java.util.List<Timer> findTimersByExecution(Execution execution)
TimerSession
findTimersByExecution in interface TimerSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||