|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutorService
Method Summary | |
---|---|
Runnable |
getExecuteJobsRunnable(List<String> jobIds,
ProcessEngineImpl processEngine)
Returns a runnable to be used for executing Jobs. |
boolean |
schedule(Runnable runnable,
boolean isLongRunning)
Passes a Runnable to the runtime container for execution. |
Method Detail |
---|
boolean schedule(Runnable runnable, boolean isLongRunning)
Passes a Runnable
to the runtime container for execution. Some runtime
containers (like a Java EE container offer container provided
infrastructure for executing background work (such as a JCA WorkManager).
This method allows the process engine to take advantage of container
infrastructure for doing background work.
runnable
- the Runnable
to be executed.isLongRunning
- indicates whether the runnable is a daemon.
Runnable getExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine)
Returns a runnable to be used for executing Jobs.
jobIds
- processEngine
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |