|
jBPM :: Distribution 6.2.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.executor.impl.jpa.ExecutorRequestAdminServiceImpl
public class ExecutorRequestAdminServiceImpl
Default implementation of ExecutorAdminService
backed with JPA
IMPORTANT: please keep all classes from package org.jbpm.shared.services.impl as FQCN
inside method body to avoid exception logged by CDI when used with in memory mode
Constructor Summary | |
---|---|
ExecutorRequestAdminServiceImpl()
|
Method Summary | |
---|---|
int |
clearAllErrors()
|
int |
clearAllRequests()
|
void |
requeue(Long olderThan)
Moves RequestInfo instances that are in running state longer than
given amount of time (in milliseconds) |
void |
requeueById(Long requestId)
Moves RequestInfo instance with given request id that are in running state |
void |
setCommandService(org.drools.core.command.CommandService commandService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutorRequestAdminServiceImpl()
Method Detail |
---|
public void setCommandService(org.drools.core.command.CommandService commandService)
public int clearAllRequests()
clearAllRequests
in interface org.kie.internal.executor.api.ExecutorAdminService
public int clearAllErrors()
clearAllErrors
in interface org.kie.internal.executor.api.ExecutorAdminService
public void requeue(Long olderThan)
RequeueAware
RequestInfo
instances that are in running state longer than
given amount of time (in milliseconds)
requeue
in interface RequeueAware
olderThan
- amount of time in milliseconds from current time stamppublic void requeueById(Long requestId)
RequeueAware
RequestInfo
instance with given request id that are in running state
requeueById
in interface RequeueAware
requestId
- request unique identifier
|
jBPM :: Distribution 6.2.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |