public interface BatchThreadPoolService extends BatchService
Modifier and Type | Method and Description |
---|---|
void |
executeTask(Runnable work,
Object config)
(Required) Runs the given task.
|
void |
shutdown() |
init
void executeTask(Runnable work, Object config)
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.void shutdown()
Copyright © 2017 The Apache Software Foundation. All rights reserved.