Uses of Class
org.glassfish.jersey.jdk.connector.internal.ThreadPoolConfig
Packages that use ThreadPoolConfig
-
Uses of ThreadPoolConfig in org.glassfish.jersey.jdk.connector.internal
Fields in org.glassfish.jersey.jdk.connector.internal declared as ThreadPoolConfigModifier and TypeFieldDescriptionprivate static ThreadPoolConfig
TransportFilter.currentThreadPoolConfig
ThreadPoolConfig
currentTransportFilter.channelGroup
has been created with.private static final ThreadPoolConfig
ThreadPoolConfig.DEFAULT
private final ThreadPoolConfig
ConnectorConfiguration.threadPoolConfig
private final ThreadPoolConfig
TransportFilter.threadPoolConfig
private final ThreadPoolConfig
TransportFilter.TransportThreadFactory.threadPoolConfig
Methods in org.glassfish.jersey.jdk.connector.internal that return ThreadPoolConfigModifier and TypeMethodDescriptionThreadPoolConfig.copy()
Return a copy of this thread pool config.static ThreadPoolConfig
ThreadPoolConfig.defaultConfig()
Create new client thread pool configuration instance.(package private) ThreadPoolConfig
ConnectorConfiguration.getThreadPoolConfig()
ThreadPoolConfig.setCorePoolSize
(int corePoolSize) Set the core thread pool size - the size of the thread pool will never bee smaller than this.ThreadPoolConfig.setDaemon
(boolean isDaemon) Settrue
if thread pool threads are daemons.ThreadPoolConfig.setInitialClassLoader
(ClassLoader initialClassLoader) Specifies the context class loader that will be used by threads in this pool.ThreadPoolConfig.setKeepAliveTime
(long time, TimeUnit unit) The max period of time a thread will wait for a new task to process.ThreadPoolConfig.setMaxPoolSize
(int maxPoolSize) Set max thread pool size.ThreadPoolConfig.setPoolName
(String poolName) Set thread pool name.ThreadPoolConfig.setPriority
(int priority) Set priority of the threads in thread pool.Set a queue implementation that will be used to temporarily store tasks when all threads in the thread pool are busy.ThreadPoolConfig.setQueueLimit
(int queueLimit) Set the limit of the queue, where tasks are temporarily stored when all threads are busy.ThreadPoolConfig.setThreadFactory
(ThreadFactory threadFactory) SetThreadFactory
that will be used to create thread pool threads.Constructors in org.glassfish.jersey.jdk.connector.internal with parameters of type ThreadPoolConfigModifierConstructorDescriptionprivate
(package private)
TransportFilter
(int inputBufferSize, ThreadPoolConfig threadPoolConfig, int containerIdleTimeout) Constructor.(package private)
TransportThreadFactory
(ThreadPoolConfig threadPoolConfig)