public class SPIDelegatingThreadPoolServiceImpl extends Object implements IBatchThreadPoolService
| Constructor and Description |
|---|
SPIDelegatingThreadPoolServiceImpl() |
| 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 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