Package org.bonitasoft.engine.work
package org.bonitasoft.engine.work
-
ClassDescriptionThis is the interface we use to wrap the ThreadPool that execute worksA factory to create executor service that will be given to the WorkServiceA runnable that notifies a listener of its stateUse 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.Happens when a work could not be executed because its preconditions where not met.this a callback called when a work finish.Trigger the asynchronous execution of a workThis service allows register the execution of a work at the end of the current transactionDirectly calls the WorkExecutorService