Uses of Class
org.glassfish.grizzly.threadpool.ThreadPoolConfig
Packages that use ThreadPoolConfig
Package
Description
-
Uses of ThreadPoolConfig in org.glassfish.grizzly
Fields in org.glassfish.grizzly declared as ThreadPoolConfigModifier and TypeFieldDescriptionprotected ThreadPoolConfigNIOTransportBuilder.kernelConfigprotected ThreadPoolConfigAbstractTransport.kernelPoolConfigprotected ThreadPoolConfigNIOTransportBuilder.workerConfigprotected ThreadPoolConfigAbstractTransport.workerPoolConfigMethods in org.glassfish.grizzly that return ThreadPoolConfigModifier and TypeMethodDescriptionAbstractTransport.getKernelThreadPoolConfig()Transport.getKernelThreadPoolConfig()NIOTransportBuilder.getSelectorThreadPoolConfig()AbstractTransport.getWorkerThreadPoolConfig()NIOTransportBuilder.getWorkerThreadPoolConfig()Transport.getWorkerThreadPoolConfig()Methods in org.glassfish.grizzly with parameters of type ThreadPoolConfigModifier and TypeMethodDescriptionvoidAbstractTransport.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.NIOTransportBuilder.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.NIOTransportBuilder.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 ThreadPoolConfigModifier and TypeMethodDescriptionAbstractIOStrategy.createDefaultWorkerPoolConfig(Transport transport) SameThreadIOStrategy.createDefaultWorkerPoolConfig(Transport transport) SimpleDynamicNIOStrategy.createDefaultWorkerPoolConfig(Transport transport) WorkerThreadPoolConfigProducer.createDefaultWorkerPoolConfig(Transport transport) -
Uses of ThreadPoolConfig in org.glassfish.grizzly.threadpool
Fields in org.glassfish.grizzly.threadpool declared as ThreadPoolConfigModifier and TypeFieldDescriptionprotected final ThreadPoolConfigAbstractThreadPool.configprotected ThreadPoolConfigGrizzlyExecutorService.configMethods in org.glassfish.grizzly.threadpool that return ThreadPoolConfigModifier and TypeMethodDescriptionThreadPoolConfig.copy()static ThreadPoolConfigThreadPoolConfig.defaultConfig()Create new Grizzly thread-pool configuration instance.AbstractThreadPool.getConfig()GrizzlyExecutorService.getConfiguration()ThreadPoolConfig.setCorePoolSize(int corePoolSize) ThreadPoolConfig.setDaemon(boolean isDaemon) ThreadPoolConfig.setInitialClassLoader(ClassLoader initialClassLoader) Specifies the context classloader 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) ThreadPoolConfig.setMemoryManager(MemoryManager mm) ThreadPoolConfig.setPoolName(String poolname) ThreadPoolConfig.setPriority(int priority) ThreadPoolConfig.setQueueLimit(int queueLimit) ThreadPoolConfig.setThreadFactory(ThreadFactory threadFactory) ThreadPoolConfig.setTransactionMonitor(DelayedExecutor transactionMonitor) ThreadPoolConfig.setTransactionTimeout(long transactionTimeout, TimeUnit timeunit) ThreadPoolConfig.setTransactionTimeout(DelayedExecutor transactionMonitor, long transactionTimeout, TimeUnit timeunit) Methods in org.glassfish.grizzly.threadpool with parameters of type ThreadPoolConfigModifier and TypeMethodDescriptionstatic GrizzlyExecutorServiceGrizzlyExecutorService.createInstance(ThreadPoolConfig cfg) GrizzlyExecutorService.reconfigure(ThreadPoolConfig config) Sets theThreadPoolConfigprotected final voidGrizzlyExecutorService.setImpl(ThreadPoolConfig cfg) Constructors in org.glassfish.grizzly.threadpool with parameters of type ThreadPoolConfigModifierConstructorDescriptionAbstractThreadPool(ThreadPoolConfig config) FixedThreadPool(ThreadPoolConfig config) protectedSyncThreadPool(ThreadPoolConfig config)