|
||||||||||
| 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 | |
|---|---|
List<JobImpl<?>> |
findExclusiveJobs(Execution processInstance)
the list of jobs of the process instance that mustn't be concurrent |
Collection<JobImpl<?>> |
findFirstAcquirableJob(int limit,
boolean limitSameInstanceJobs)
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.orchestra.pvm.session.DbSession |
|---|
delete, flush, forceVersionUpdate, get, lockPessimistically, save |
| Method Detail |
|---|
JobImpl<?> getJob(long jobId)
Collection<JobImpl<?>> findFirstAcquirableJob(int limit,
boolean limitSameInstanceJobs)
List<JobImpl<?>> findExclusiveJobs(Execution processInstance)
JobImpl<?> findFirstDueJob()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||