com.ibm.batch.container.services
Interface IBatchThreadPoolService
- All Superinterfaces:
- IBatchServiceBase
- All Known Implementing Classes:
- AbstractThreadPoolServiceImpl, GlassfishThreadPoolServiceImpl, JSEThreadPoolServiceImpl
public interface IBatchThreadPoolService
- extends IBatchServiceBase
executeTask
void executeTask(BatchWorkUnit work,
Object config)
- (Required) Runs the given task. A task is usually short lived
- 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
ParallelTaskResult executeParallelTask(BatchWorkUnit work,
Object config)
- Runs the given task. A task is usually short lived
- 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.