|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobDbSession
internal interface used by the jobImpl executor and the implementations of
MessageSession
and TimerSession
.
So this session is only needed in case the JobExecutor
is used to
execute messages or timers.
Method Summary | |
---|---|
java.util.List<JobImpl<?>> |
findExclusiveJobs(Execution processInstance)
the list of jobs of the process instance that mustn't be concurrent |
JobImpl<?> |
findFirstAcquirableJob()
the first jobImpl to finish among eligible and non-locked jobs or null if none |
JobImpl<?> |
findFirstDueJob()
the first jobImpl to finish among non-owned jobs or null if none |
JobImpl<?> |
getJob(long jobId)
the jobImpl with the given id or null if none |
Methods inherited from interface org.ow2.bonita.pvm.session.DbSession |
---|
delete, flush, forceVersionUpdate, get, lockPessimistically, save |
Method Detail |
---|
JobImpl<?> getJob(long jobId)
JobImpl<?> findFirstAcquirableJob()
java.util.List<JobImpl<?>> findExclusiveJobs(Execution processInstance)
JobImpl<?> findFirstDueJob()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |