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 (time unit depends on the org.kie.executor.timeunit system property) |
void |
requeueById(Long requestId)
Moves
RequestInfo instance with given request id that are in running state |
void |
setCommandService(org.kie.api.runtime.CommandExecutor commandService) |
void |
setExecutor(org.kie.api.executor.Executor executor) |
public void setCommandService(org.kie.api.runtime.CommandExecutor commandService)
public void setExecutor(org.kie.api.executor.Executor executor)
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 (time unit depends on the org.kie.executor.timeunit system property)requeue in interface RequeueAwareolderThan - amount of time 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–2021 JBoss by Red Hat. All rights reserved.