java.lang.Object | |
↳ | com.atlassian.jira.util.BoundedExecutorServiceWrapper.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the max number of concurrent operations supported by the ExecutorService
| |||||||||||
Provide a custom executor service supplier.
| |||||||||||
Set the timeout duration for shutting down the executor service.
| |||||||||||
Set the thread pool name used by the executor service that is managed by the wrapper.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Set the max number of concurrent operations supported by the ExecutorService
concurrency | The max number of concurrent operations. |
---|
Provide a custom executor service supplier. This setting cannot be used with the thread pool name setting. NB A cached thread pool is recommended as the executor service.
executorServiceSupplier | Supplier of a suitable executor service to use |
---|
Set the timeout duration for shutting down the executor service.
shutdownTimeout | The timeout duration for shutting down the executor service. |
---|
Set the thread pool name used by the executor service that is managed by the wrapper. This setting cannot be
used with withExecutorService(Supplier)
.
threadPoolName | The thread pool name |
---|