ExecutorShutdown
Shuts down an executor by name.
By default the executors are shutdown gracefully. However, if you want to force the shutdown you can set the force argument to true. If you want to wait for the executor to shutdown you can set the timeout argument to the number of milliseconds to wait.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The name of the executor to shutdown | |
|
|
| Whether to force the shutdown, default is false |
|
|
|
| The number of milliseconds to wait for the executor to shutdown |
|
Examples
Related
Last updated