com.ibm.jbatch.container.services.impl
Class SPIDelegatingThreadPoolServiceImpl
java.lang.Object
com.ibm.jbatch.container.services.impl.SPIDelegatingThreadPoolServiceImpl
- All Implemented Interfaces:
- IBatchServiceBase, IBatchThreadPoolService
public class SPIDelegatingThreadPoolServiceImpl
- extends Object
- implements IBatchThreadPoolService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPIDelegatingThreadPoolServiceImpl
public SPIDelegatingThreadPoolServiceImpl()
init
public void init(IBatchConfig batchConfig)
- Specified by:
init in interface IBatchServiceBase
shutdown
public void shutdown()
throws BatchContainerServiceException
- Specified by:
shutdown in interface IBatchServiceBase
- Throws:
BatchContainerServiceException
executeTask
public void executeTask(Runnable work,
Object config)
- Description copied from interface:
IBatchThreadPoolService
- (Required) Runs the given task. A task is usually short lived
- Specified by:
executeTask in interface IBatchThreadPoolService
- Parameters:
work - 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.
executeParallelTask
public ParallelTaskResult executeParallelTask(Runnable work,
Object config)
- Description copied from interface:
IBatchThreadPoolService
- Runs the given task. A task is usually short lived
- Specified by:
executeParallelTask in interface IBatchThreadPoolService
- Parameters:
work - 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 © 2013. All Rights Reserved.