org.jbpm.console.ng.es.backend.server
Class ExecutorServiceEntryPointImpl
java.lang.Object
org.jbpm.console.ng.es.backend.server.ExecutorServiceEntryPointImpl
- All Implemented Interfaces:
- ExecutorServiceEntryPoint
@ApplicationScoped
public class ExecutorServiceEntryPointImpl
- extends Object
- implements ExecutorServiceEntryPoint
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutorServiceEntryPointImpl
public ExecutorServiceEntryPointImpl()
getQueuedRequests
public List<RequestSummary> getQueuedRequests()
- Specified by:
getQueuedRequests in interface ExecutorServiceEntryPoint
getCompletedRequests
public List<RequestSummary> getCompletedRequests()
- Specified by:
getCompletedRequests in interface ExecutorServiceEntryPoint
getInErrorRequests
public List<RequestSummary> getInErrorRequests()
- Specified by:
getInErrorRequests in interface ExecutorServiceEntryPoint
getCancelledRequests
public List<RequestSummary> getCancelledRequests()
- Specified by:
getCancelledRequests in interface ExecutorServiceEntryPoint
getAllErrors
public List<ErrorSummary> getAllErrors()
- Specified by:
getAllErrors in interface ExecutorServiceEntryPoint
getAllRequests
public List<RequestSummary> getAllRequests()
- Specified by:
getAllRequests in interface ExecutorServiceEntryPoint
getRequestsByStatus
public List<RequestSummary> getRequestsByStatus(List<String> statuses)
- Specified by:
getRequestsByStatus in interface ExecutorServiceEntryPoint
getRequestDetails
public RequestDetails getRequestDetails(Long requestId)
- Specified by:
getRequestDetails in interface ExecutorServiceEntryPoint
clearAllRequests
public int clearAllRequests()
- Specified by:
clearAllRequests in interface ExecutorServiceEntryPoint
clearAllErrors
public int clearAllErrors()
- Specified by:
clearAllErrors in interface ExecutorServiceEntryPoint
scheduleRequest
public Long scheduleRequest(String commandName,
Map<String,String> ctx)
- Specified by:
scheduleRequest in interface ExecutorServiceEntryPoint
scheduleRequest
public Long scheduleRequest(String commandName,
Date date,
Map<String,String> ctx)
- Specified by:
scheduleRequest in interface ExecutorServiceEntryPoint
cancelRequest
public void cancelRequest(Long requestId)
- Specified by:
cancelRequest in interface ExecutorServiceEntryPoint
init
public void init()
- Specified by:
init in interface ExecutorServiceEntryPoint
destroy
public void destroy()
- Specified by:
destroy in interface ExecutorServiceEntryPoint
isActive
public Boolean isActive()
- Specified by:
isActive in interface ExecutorServiceEntryPoint
startStopService
public Boolean startStopService(int waitTime,
int nroOfThreads)
- Specified by:
startStopService in interface ExecutorServiceEntryPoint
getInterval
public int getInterval()
- Specified by:
getInterval in interface ExecutorServiceEntryPoint
setInterval
public void setInterval(int waitTime)
- Specified by:
setInterval in interface ExecutorServiceEntryPoint
getRetries
public int getRetries()
- Specified by:
getRetries in interface ExecutorServiceEntryPoint
setRetries
public void setRetries(int defaultNroOfRetries)
- Specified by:
setRetries in interface ExecutorServiceEntryPoint
getThreadPoolSize
public int getThreadPoolSize()
- Specified by:
getThreadPoolSize in interface ExecutorServiceEntryPoint
setThreadPoolSize
public void setThreadPoolSize(int nroOfThreads)
- Specified by:
setThreadPoolSize in interface ExecutorServiceEntryPoint
getPendingRequests
public List<RequestSummary> getPendingRequests()
- Specified by:
getPendingRequests in interface ExecutorServiceEntryPoint
getPendingRequestById
public List<RequestSummary> getPendingRequestById(Long id)
- Specified by:
getPendingRequestById in interface ExecutorServiceEntryPoint
getRunningRequests
public List<RequestSummary> getRunningRequests()
- Specified by:
getRunningRequests in interface ExecutorServiceEntryPoint
getFutureQueuedRequests
public List<RequestSummary> getFutureQueuedRequests()
- Specified by:
getFutureQueuedRequests in interface ExecutorServiceEntryPoint
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.