public class ExecutorRequestAdminServiceImpl extends Object implements org.kie.api.executor.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.kie.api.runtime.CommandExecutor commandService) |
public void setCommandService(org.kie.api.runtime.CommandExecutor commandService)
public int clearAllRequests()
clearAllRequests in interface org.kie.api.executor.ExecutorAdminServicepublic int clearAllErrors()
clearAllErrors in interface org.kie.api.executor.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–2017 JBoss by Red Hat. All rights reserved.