Package org.bonitasoft.engine.work
-
Interface Summary Interface Description BonitaExecutorService This is the interface we use to wrap the ThreadPool that execute worksBonitaExecutorServiceFactory A factory to create executor service that will be given to the WorkServiceExceptionRetryabilityEvaluator FailureCallback SuccessCallback WorkExecutionCallback this a callback called when a work finish.WorkExecutorService Trigger the asynchronous execution of a workWorkFactory WorkService This service allows register the execution of a work at the end of the current transaction -
Class Summary Class Description BonitaRunnable A runnable that notifies a listener of its stateBonitaThreadPoolExecutor BonitaWork DefaultBonitaExecutorServiceFactory Use ThreadPoolExecutor as ExecutorService The handling of threads relies on the JVM The rules to create new thread are: - If the number of threads is less than the corePoolSize, create a new Thread to run a new task.DefaultExceptionRetryabilityEvaluator RetryingWorkExecutorService WorkDescriptor WorkerThreadFactory WorkServiceImpl Directly calls the WorkExecutorServiceWorkSynchronization -
Enum Summary Enum Description ExceptionRetryabilityEvaluator.Retryability -
Exception Summary Exception Description LockException LockTimeoutException SWorkException SWorkPreconditionException Happens when a work could not be executed because its preconditions where not met.SWorkRegisterException