public interface ExecutorService
Executor
ExecutorQueryService
ExecutorAdminService
Executor
,
ExecutorQueryService
,
ExecutorAdminService
Modifier and Type | Interface and Description |
---|---|
static class |
ExecutorService.IdProvider |
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTOR_ID
Allow to use custom identifiers for the executor instance where default is to rely on local id of clustering of kie
if present, otherwise use simple 'default-executor'.
|
static final String EXECUTOR_ID
List<RequestInfo> getQueuedRequests(QueryContext queryContext)
List<RequestInfo> getCompletedRequests(QueryContext queryContext)
List<RequestInfo> getInErrorRequests(QueryContext queryContext)
List<RequestInfo> getCancelledRequests(QueryContext queryContext)
List<ErrorInfo> getAllErrors(QueryContext queryContext)
List<RequestInfo> getAllRequests(QueryContext queryContext)
List<RequestInfo> getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)
List<RequestInfo> getRequestsByBusinessKey(String businessKey, QueryContext queryContext)
List<RequestInfo> getRequestsByBusinessKey(String businessKey, List<STATUS> statuses, QueryContext queryContext)
List<RequestInfo> getRequestsByCommand(String command, QueryContext queryContext)
List<RequestInfo> getRequestsByCommand(String command, List<STATUS> statuses, QueryContext queryContext)
List<RequestInfo> getRequestsByDeployment(String deploymentId, List<STATUS> statuses, QueryContext queryContext)
List<RequestInfo> getRequestsByProcessInstance(Long processInstanceId, List<STATUS> statuses, QueryContext queryContext)
int clearAllRequests()
int clearAllErrors()
Long scheduleRequest(String commandName, CommandContext ctx)
void cancelRequest(Long requestId)
void init()
void destroy()
boolean isActive()
int getInterval()
void setInterval(int waitTime)
int getRetries()
void setRetries(int defaultNroOfRetries)
int getThreadPoolSize()
void setThreadPoolSize(int nroOfThreads)
TimeUnit getTimeunit()
void setTimeunit(TimeUnit timeunit)
List<RequestInfo> getPendingRequests(QueryContext queryContext)
List<RequestInfo> getPendingRequestById(Long id)
Long scheduleRequest(String commandId, Date date, CommandContext ctx)
List<RequestInfo> getRunningRequests(QueryContext queryContext)
List<RequestInfo> getFutureQueuedRequests(QueryContext queryContext)
RequestInfo getRequestById(Long requestId)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.