@ClientAsyncExecutor
public class DaemonClientAsyncExecutorProvider
extends org.glassfish.jersey.spi.ThreadPoolExecutorProvider
Mostly copied from jersey DefaultClientAsyncExecutorProvider, but with daemon threads
| Constructor and Description |
|---|
DaemonClientAsyncExecutorProvider(int poolSize) |
| Modifier and Type | Method and Description |
|---|---|
protected ThreadFactory |
getBackingThreadFactory() |
protected int |
getCorePoolSize() |
protected int |
getMaximumPoolSize() |
createExecutor, createExecutor, dispose, getExecutorService, getKeepAliveTime, getWorkQueue, preDestroy@Inject
public DaemonClientAsyncExecutorProvider(@Named(value="ClientAsyncThreadPoolSize")
int poolSize)
protected int getMaximumPoolSize()
getMaximumPoolSize in class org.glassfish.jersey.spi.ThreadPoolExecutorProviderprotected int getCorePoolSize()
getCorePoolSize in class org.glassfish.jersey.spi.AbstractThreadPoolProvider<ThreadPoolExecutor>protected ThreadFactory getBackingThreadFactory()
getBackingThreadFactory in class org.glassfish.jersey.spi.AbstractThreadPoolProvider<ThreadPoolExecutor>Copyright © 2016–2024. All rights reserved.