public interface ExecutorService
Executor
ExecutorQueryService
ExecutorAdminService
Executor
,
ExecutorQueryService
,
ExecutorAdminService
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'
|
Modifier and Type | Method and Description |
---|---|
void |
cancelRequest(Long requestId) |
int |
clearAllErrors() |
int |
clearAllRequests() |
void |
destroy() |
List<ErrorInfo> |
getAllErrors()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<ErrorInfo> |
getAllErrors(QueryContext queryContext) |
List<RequestInfo> |
getAllRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getAllRequests(QueryContext queryContext) |
List<RequestInfo> |
getCancelledRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getCancelledRequests(QueryContext queryContext) |
List<RequestInfo> |
getCompletedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getCompletedRequests(QueryContext queryContext) |
List<ErrorInfo> |
getErrorsByRequestId(Long requestId) |
List<RequestInfo> |
getFutureQueuedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getFutureQueuedRequests(QueryContext queryContext) |
List<RequestInfo> |
getInErrorRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getInErrorRequests(QueryContext queryContext) |
int |
getInterval() |
List<RequestInfo> |
getPendingRequestById(Long id) |
List<RequestInfo> |
getPendingRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getPendingRequests(QueryContext queryContext) |
List<RequestInfo> |
getQueuedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getQueuedRequests(QueryContext queryContext) |
RequestInfo |
getRequestById(Long requestId) |
List<RequestInfo> |
getRequestsByBusinessKey(String businessKey)
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getRequestsByBusinessKey(String businessKey,
QueryContext queryContext) |
List<RequestInfo> |
getRequestsByCommand(String command,
QueryContext queryContext) |
List<RequestInfo> |
getRequestsByStatus(List<STATUS> statuses)
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getRequestsByStatus(List<STATUS> statuses,
QueryContext queryContext) |
int |
getRetries() |
List<RequestInfo> |
getRunningRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getRunningRequests(QueryContext queryContext) |
int |
getThreadPoolSize() |
TimeUnit |
getTimeunit() |
void |
init() |
boolean |
isActive() |
Long |
scheduleRequest(String commandName,
CommandContext ctx) |
Long |
scheduleRequest(String commandId,
Date date,
CommandContext ctx) |
void |
setInterval(int waitTime) |
void |
setRetries(int defaultNroOfRetries) |
void |
setThreadPoolSize(int nroOfThreads) |
void |
setTimeunit(TimeUnit timeunit) |
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> getRequestsByCommand(String command, QueryContext queryContext)
List<RequestInfo> getPendingRequests(QueryContext queryContext)
List<RequestInfo> getRunningRequests(QueryContext queryContext)
List<RequestInfo> getFutureQueuedRequests(QueryContext queryContext)
@Deprecated List<RequestInfo> getQueuedRequests()
@Deprecated List<RequestInfo> getCompletedRequests()
@Deprecated List<RequestInfo> getInErrorRequests()
@Deprecated List<RequestInfo> getCancelledRequests()
@Deprecated List<ErrorInfo> getAllErrors()
@Deprecated List<RequestInfo> getAllRequests()
@Deprecated List<RequestInfo> getRequestsByStatus(List<STATUS> statuses)
@Deprecated List<RequestInfo> getRequestsByBusinessKey(String businessKey)
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)
@Deprecated List<RequestInfo> getPendingRequests()
List<RequestInfo> getPendingRequestById(Long id)
Long scheduleRequest(String commandId, Date date, CommandContext ctx)
@Deprecated List<RequestInfo> getRunningRequests()
@Deprecated List<RequestInfo> getFutureQueuedRequests()
RequestInfo getRequestById(Long requestId)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.