public class DefaultInitExecutorServiceProvider extends Object implements InitExecutorServiceProvider
| Constructor and Description |
|---|
DefaultInitExecutorServiceProvider(com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory) |
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
initExecutorService(com.atlassian.tenancy.api.Tenant tenant)
Create a thread pool executor with the same context class loader that was used when creating this class.
|
public DefaultInitExecutorServiceProvider(com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory)
@Nonnull public ExecutorService initExecutorService(@Nonnull com.atlassian.tenancy.api.Tenant tenant)
activeobjects.servicefactory.ddl.threadpoolsize, default 1.
Runs in the same thread local context as the calling code.initExecutorService in interface InitExecutorServiceProvidertenant - active-objects-init-<tenant.toString()>-%dCopyright © 2018 Atlassian. All rights reserved.