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 ThreadPoolConfigTransportFilter.currentThreadPoolConfigThreadPoolConfigcurrentTransportFilter.channelGrouphas been created with.private static final ThreadPoolConfigThreadPoolConfig.DEFAULTprivate final ThreadPoolConfigConnectorConfiguration.threadPoolConfigprivate final ThreadPoolConfigTransportFilter.threadPoolConfigprivate final ThreadPoolConfigTransportFilter.TransportThreadFactory.threadPoolConfigMethods in org.glassfish.jersey.jdk.connector.internal that return ThreadPoolConfigModifier and TypeMethodDescriptionThreadPoolConfig.copy()Return a copy of this thread pool config.static ThreadPoolConfigThreadPoolConfig.defaultConfig()Create new client thread pool configuration instance.(package private) ThreadPoolConfigConnectorConfiguration.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) Settrueif 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) SetThreadFactorythat 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)