Uses of Class
org.glassfish.grizzly.threadpool.ThreadPoolConfig
-
Packages that use ThreadPoolConfig Package Description org.glassfish.grizzly org.glassfish.grizzly.strategies org.glassfish.grizzly.threadpool -
-
Uses of ThreadPoolConfig in org.glassfish.grizzly
Fields in org.glassfish.grizzly declared as ThreadPoolConfig Modifier and Type Field Description protected ThreadPoolConfigNIOTransportBuilder. kernelConfigprotected ThreadPoolConfigAbstractTransport. kernelPoolConfigprotected ThreadPoolConfigNIOTransportBuilder. workerConfigprotected ThreadPoolConfigAbstractTransport. workerPoolConfigMethods in org.glassfish.grizzly that return ThreadPoolConfig Modifier and Type Method Description ThreadPoolConfigAbstractTransport. getKernelThreadPoolConfig()ThreadPoolConfigTransport. getKernelThreadPoolConfig()ThreadPoolConfigNIOTransportBuilder. getSelectorThreadPoolConfig()ThreadPoolConfigAbstractTransport. getWorkerThreadPoolConfig()ThreadPoolConfigNIOTransportBuilder. getWorkerThreadPoolConfig()ThreadPoolConfigTransport. getWorkerThreadPoolConfig()Methods in org.glassfish.grizzly with parameters of type ThreadPoolConfig Modifier and Type Method Description voidAbstractTransport. setKernelThreadPoolConfig(ThreadPoolConfig kernelPoolConfig)Set theThreadPoolConfigto be used by the Transport internal thread pool.voidTransport. setKernelThreadPoolConfig(ThreadPoolConfig kernelConfig)Set theThreadPoolConfigto be used by the Transport internal thread pool.TNIOTransportBuilder. setSelectorThreadPoolConfig(ThreadPoolConfig kernelConfig)Sets theThreadPoolConfigthat will be used to construct theExecutorServicewhich will run theNIOTransport'sSelectorRunners.voidAbstractTransport. setWorkerThreadPoolConfig(ThreadPoolConfig workerPoolConfig)Set theThreadPoolConfigto be used by the worker thread pool.TNIOTransportBuilder. setWorkerThreadPoolConfig(ThreadPoolConfig workerConfig)Sets theThreadPoolConfigthat will be used to construct theExecutorServiceforIOStrategiesthat require worker threadsvoidTransport. setWorkerThreadPoolConfig(ThreadPoolConfig workerConfig)Set theThreadPoolConfigto be used by the worker thread pool. -
Uses of ThreadPoolConfig in org.glassfish.grizzly.strategies
Methods in org.glassfish.grizzly.strategies that return ThreadPoolConfig Modifier and Type Method Description ThreadPoolConfigAbstractIOStrategy. createDefaultWorkerPoolConfig(Transport transport)ThreadPoolConfigSameThreadIOStrategy. createDefaultWorkerPoolConfig(Transport transport)ThreadPoolConfigSimpleDynamicNIOStrategy. createDefaultWorkerPoolConfig(Transport transport)ThreadPoolConfigWorkerThreadPoolConfigProducer. createDefaultWorkerPoolConfig(Transport transport) -
Uses of ThreadPoolConfig in org.glassfish.grizzly.threadpool
Fields in org.glassfish.grizzly.threadpool declared as ThreadPoolConfig Modifier and Type Field Description protected ThreadPoolConfigAbstractThreadPool. configprotected ThreadPoolConfigGrizzlyExecutorService. configMethods in org.glassfish.grizzly.threadpool that return ThreadPoolConfig Modifier and Type Method Description ThreadPoolConfigThreadPoolConfig. copy()static ThreadPoolConfigThreadPoolConfig. defaultConfig()Create new Grizzly thread-pool configuration instance.ThreadPoolConfigAbstractThreadPool. getConfig()ThreadPoolConfigGrizzlyExecutorService. getConfiguration()ThreadPoolConfigThreadPoolConfig. setCorePoolSize(int corePoolSize)ThreadPoolConfigThreadPoolConfig. setDaemon(boolean isDaemon)ThreadPoolConfigThreadPoolConfig. setInitialClassLoader(ClassLoader initialClassLoader)Specifies the context classloader that will be used by threads in this pool.ThreadPoolConfigThreadPoolConfig. setKeepAliveTime(long time, TimeUnit unit)The max period of time a thread will wait for a new task to process.ThreadPoolConfigThreadPoolConfig. setMaxPoolSize(int maxPoolSize)ThreadPoolConfigThreadPoolConfig. setMemoryManager(MemoryManager mm)ThreadPoolConfigThreadPoolConfig. setPoolName(String poolname)ThreadPoolConfigThreadPoolConfig. setPriority(int priority)ThreadPoolConfigThreadPoolConfig. setQueue(Queue<Runnable> queue)ThreadPoolConfigThreadPoolConfig. setQueueLimit(int queueLimit)ThreadPoolConfigThreadPoolConfig. setThreadFactory(ThreadFactory threadFactory)ThreadPoolConfigThreadPoolConfig. setTransactionMonitor(DelayedExecutor transactionMonitor)ThreadPoolConfigThreadPoolConfig. setTransactionTimeout(long transactionTimeout, TimeUnit timeunit)ThreadPoolConfigThreadPoolConfig. setTransactionTimeout(DelayedExecutor transactionMonitor, long transactionTimeout, TimeUnit timeunit)Methods in org.glassfish.grizzly.threadpool with parameters of type ThreadPoolConfig Modifier and Type Method Description static GrizzlyExecutorServiceGrizzlyExecutorService. createInstance(ThreadPoolConfig cfg)GrizzlyExecutorServiceGrizzlyExecutorService. reconfigure(ThreadPoolConfig config)Sets theThreadPoolConfigprotected voidGrizzlyExecutorService. setImpl(ThreadPoolConfig cfg)Constructors in org.glassfish.grizzly.threadpool with parameters of type ThreadPoolConfig Constructor Description AbstractThreadPool(ThreadPoolConfig config)FixedThreadPool(ThreadPoolConfig config)GrizzlyExecutorService(ThreadPoolConfig config)SyncThreadPool(ThreadPoolConfig config)
-