|
jBPM distribution 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.executor.impl.ExecutorImpl
@ApplicationScoped public class ExecutorImpl
Default implementation of the Executor that is baced by
ScheduledExecutorService for background task execution.
It can be configured for following:
| Constructor Summary | |
|---|---|
ExecutorImpl()
|
|
| Method Summary | |
|---|---|
void |
cancelRequest(Long requestId)
|
void |
destroy()
|
int |
getInterval()
|
int |
getRetries()
|
int |
getThreadPoolSize()
|
void |
init()
|
Long |
scheduleRequest(String commandId,
org.kie.internal.executor.api.CommandContext ctx)
|
Long |
scheduleRequest(String commandId,
Date date,
org.kie.internal.executor.api.CommandContext ctx)
|
void |
setClassCacheManager(ClassCacheManager classCacheManager)
|
void |
setExecutorRunnable(ExecutorRunnable runnableTask)
|
void |
setInterval(int interval)
|
void |
setPm(JbpmServicesPersistenceManager pm)
|
void |
setQueryService(org.kie.internal.executor.api.ExecutorQueryService queryService)
|
void |
setRetries(int retries)
|
void |
setThreadPoolSize(int threadPoolSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutorImpl()
| Method Detail |
|---|
public void setPm(JbpmServicesPersistenceManager pm)
public void setExecutorRunnable(ExecutorRunnable runnableTask)
public void setQueryService(org.kie.internal.executor.api.ExecutorQueryService queryService)
public void setClassCacheManager(ClassCacheManager classCacheManager)
public int getInterval()
getInterval in interface org.kie.internal.executor.api.Executorpublic void setInterval(int interval)
setInterval in interface org.kie.internal.executor.api.Executorpublic int getRetries()
getRetries in interface org.kie.internal.executor.api.Executorpublic void setRetries(int retries)
setRetries in interface org.kie.internal.executor.api.Executorpublic int getThreadPoolSize()
getThreadPoolSize in interface org.kie.internal.executor.api.Executorpublic void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize in interface org.kie.internal.executor.api.Executorpublic void init()
init in interface org.kie.internal.executor.api.Executorpublic void destroy()
destroy in interface org.kie.internal.executor.api.Executor
public Long scheduleRequest(String commandId,
org.kie.internal.executor.api.CommandContext ctx)
scheduleRequest in interface org.kie.internal.executor.api.Executor
public Long scheduleRequest(String commandId,
Date date,
org.kie.internal.executor.api.CommandContext ctx)
scheduleRequest in interface org.kie.internal.executor.api.Executorpublic void cancelRequest(Long requestId)
cancelRequest in interface org.kie.internal.executor.api.Executor
|
jBPM distribution 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||