Interface | Description |
---|---|
BonitaExecutorService |
This is the interface we use to wrap the ThreadPool that execute works
|
BonitaExecutorServiceFactory |
A factory to create executor service that will be given to the WorkService
|
FailureCallback | |
SuccessCallback | |
WorkExecutionCallback |
this a callback called when a work finish.
|
WorkExecutorService |
Trigger the asynchronous execution of a work
|
WorkFactory | |
WorkService |
This service allows register the execution of a work at the end of the current transaction
|
Class | Description |
---|---|
BonitaRunnable |
A runnable that notifies a listener of its state
|
BonitaThreadPoolExecutor | |
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.
|
WorkDescriptor | |
WorkerThreadFactory | |
WorkExecutorServiceImpl | |
WorkServiceImpl |
Directly calls the WorkExecutorService
|
WorkSynchronization |
Exception | Description |
---|---|
LockTimeoutException | |
SWorkException | |
SWorkRegisterException |
Copyright © 2018 Bonitasoft S.A.. All rights reserved.