public class ExecutorRequestAdminServiceImpl extends Object implements org.kie.internal.executor.api.ExecutorAdminService, RequeueAware
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 and Description |
|---|
ExecutorRequestAdminServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void setCommandService(org.drools.core.command.CommandService commandService)
public int clearAllRequests()
clearAllRequests in interface org.kie.internal.executor.api.ExecutorAdminServicepublic int clearAllErrors()
clearAllErrors in interface org.kie.internal.executor.api.ExecutorAdminServicepublic void requeue(Long olderThan)
RequeueAwareRequestInfo instances that are in running state longer than
given amount of time (in milliseconds)requeue in interface RequeueAwareolderThan - amount of time in milliseconds from current time stamppublic void requeueById(Long requestId)
RequeueAwareRequestInfo instance with given request id that are in running staterequeueById in interface RequeueAwarerequestId - request unique identifierCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.