Package | Description |
---|---|
com.atlassian.jira.util |
Modifier and Type | Method and Description |
---|---|
BoundedExecutorServiceWrapper.Builder |
BoundedExecutorServiceWrapper.Builder.withConcurrency(int concurrency)
Set the max number of concurrent operations supported by the ExecutorService
|
BoundedExecutorServiceWrapper.Builder |
BoundedExecutorServiceWrapper.Builder.withExecutorService(Supplier<com.google.common.util.concurrent.ListeningExecutorService> executorServiceSupplier)
Provide a custom executor service supplier.
|
BoundedExecutorServiceWrapper.Builder |
BoundedExecutorServiceWrapper.Builder.withShutdownTimeout(org.joda.time.Duration shutdownTimeout)
Set the timeout duration for shutting down the executor service.
|
BoundedExecutorServiceWrapper.Builder |
BoundedExecutorServiceWrapper.Builder.withThreadPoolName(String threadPoolName)
Set the thread pool name used by the executor service that is managed by the wrapper.
|
Copyright © 2002-2022 Atlassian. All Rights Reserved.