@ApplicationScoped public class ExecutorServiceEntryPointImpl extends Object implements ExecutorServiceEntryPoint, GenericServiceEntryPoint<RequestKey,RequestSummary>
| Constructor and Description |
|---|
ExecutorServiceEntryPointImpl() |
public List<RequestSummary> getQueuedRequests()
getQueuedRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getCompletedRequests()
getCompletedRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getInErrorRequests()
getInErrorRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getCancelledRequests()
getCancelledRequests in interface ExecutorServiceEntryPointpublic List<ErrorSummary> getAllErrors()
getAllErrors in interface ExecutorServiceEntryPointpublic List<RequestSummary> getAllRequests()
getAllRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getRequestsByStatus(List<String> statuses)
getRequestsByStatus in interface ExecutorServiceEntryPointpublic RequestDetails getRequestDetails(Long requestId)
getRequestDetails in interface ExecutorServiceEntryPointpublic int clearAllRequests()
clearAllRequests in interface ExecutorServiceEntryPointpublic int clearAllErrors()
clearAllErrors in interface ExecutorServiceEntryPointpublic Long scheduleRequest(String commandName, Map<String,String> ctx)
scheduleRequest in interface ExecutorServiceEntryPointpublic Long scheduleRequest(String commandName, Date date, Map<String,String> ctx)
scheduleRequest in interface ExecutorServiceEntryPointpublic void cancelRequest(Long requestId)
cancelRequest in interface ExecutorServiceEntryPointpublic void requeueRequest(Long requestId)
requeueRequest in interface ExecutorServiceEntryPointpublic void init()
init in interface ExecutorServiceEntryPointpublic void destroy()
destroy in interface ExecutorServiceEntryPointpublic Boolean isActive()
isActive in interface ExecutorServiceEntryPointpublic Boolean startStopService(int waitTime, int nroOfThreads)
startStopService in interface ExecutorServiceEntryPointpublic int getInterval()
getInterval in interface ExecutorServiceEntryPointpublic void setInterval(int waitTime)
setInterval in interface ExecutorServiceEntryPointpublic int getRetries()
getRetries in interface ExecutorServiceEntryPointpublic void setRetries(int defaultNroOfRetries)
setRetries in interface ExecutorServiceEntryPointpublic int getThreadPoolSize()
getThreadPoolSize in interface ExecutorServiceEntryPointpublic void setThreadPoolSize(int nroOfThreads)
setThreadPoolSize in interface ExecutorServiceEntryPointpublic List<RequestSummary> getPendingRequests()
getPendingRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getPendingRequestById(Long id)
getPendingRequestById in interface ExecutorServiceEntryPointpublic List<RequestSummary> getRunningRequests()
getRunningRequests in interface ExecutorServiceEntryPointpublic List<RequestSummary> getFutureQueuedRequests()
getFutureQueuedRequests in interface ExecutorServiceEntryPointpublic org.uberfire.paging.PageResponse<RequestSummary> getData(QueryFilter filter)
getData in interface ExecutorServiceEntryPointgetData in interface GenericServiceEntryPoint<RequestKey,RequestSummary>public RequestSummary getItem(RequestKey key)
getItem in interface GenericServiceEntryPoint<RequestKey,RequestSummary>protected boolean validate(String command)
public boolean isExecutorDisabled()
isExecutorDisabled in interface ExecutorServiceEntryPointpublic List<RequestSummary> getAll(QueryFilter filter)
getAll in interface GenericServiceEntryPoint<RequestKey,RequestSummary>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.