public class JNDIDelegatingThreadPoolServiceImpl extends Object implements IBatchThreadPoolService, BatchContainerConstants
| Modifier and Type | Field and Description |
|---|---|
String |
DEFAULT_JNDI_LOCATION |
BATCH_ADMIN_CONFIG_FILE, BATCH_INTEGRATOR_CONFIG_FILE, BOUNDED_THREADPOOL_MAX_POOL_SIZE, DB_PASSWORD, DB_SCHEMA, DB_USER, DEFAULT_DB_SCHEMA, DEFAULT_JDBC_DRIVER, DEFAULT_JDBC_JNDI_NAME, DEFAULT_JDBC_URL, J2SE_MODE, JDBC_DRIVER, JDBC_URL, JNDI_NAME, THREADPOOL_JNDI_LOCATION| Constructor and Description |
|---|
JNDIDelegatingThreadPoolServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ParallelTaskResult |
executeParallelTask(Runnable work,
Object config)
Runs the given task.
|
void |
executeTask(Runnable work,
Object config)
(Required) Runs the given task.
|
void |
init(IBatchConfig batchConfig) |
void |
shutdown() |
public final String DEFAULT_JNDI_LOCATION
public void init(IBatchConfig batchConfig)
init in interface IBatchServiceBasepublic void shutdown()
throws BatchContainerServiceException
shutdown in interface IBatchServiceBaseBatchContainerServiceExceptionpublic void executeTask(Runnable work, Object config)
IBatchThreadPoolServiceexecuteTask in interface IBatchThreadPoolServicework - The task to executeconfig - Optional configuration to customize the execution. The
Container always passes a null value. Typically used when
other user plugins wish to use the ExecutorService to execute
tasks.public ParallelTaskResult executeParallelTask(Runnable work, Object config)
IBatchThreadPoolServiceexecuteParallelTask in interface IBatchThreadPoolServicework - The task to executeconfig - Optional configuration to customize the execution. The
Container always passes a null value. Typically used when
other user plugins wish to use the ExecutorService to execute
tasks.© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0