public class DefaultBonitaExecutorServiceFactory extends Object implements BonitaExecutorServiceFactory
| Constructor and Description |
|---|
DefaultBonitaExecutorServiceFactory(TechnicalLoggerService logger,
WorkFactory workFactory,
long tenantId,
int corePoolSize,
int queueCapacity,
int maximumPoolSize,
long keepAliveTimeSeconds,
org.bonitasoft.engine.commons.time.EngineClock engineClock) |
| Modifier and Type | Method and Description |
|---|---|
BonitaExecutorService |
createExecutorService(WorkExecutionCallback workExecutionCallback)
Create a bonita executor service with the given
WorkExecutionCallback |
public DefaultBonitaExecutorServiceFactory(TechnicalLoggerService logger, WorkFactory workFactory, long tenantId, int corePoolSize, int queueCapacity, int maximumPoolSize, long keepAliveTimeSeconds, org.bonitasoft.engine.commons.time.EngineClock engineClock)
public BonitaExecutorService createExecutorService(WorkExecutionCallback workExecutionCallback)
BonitaExecutorServiceFactoryWorkExecutionCallbackcreateExecutorService in interface BonitaExecutorServiceFactoryworkExecutionCallback - this callback will be executed when a work complete.BonitaExecutorServiceCopyright © 2019 Bonitasoft S.A.. All rights reserved.