Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.strategies | |
org.glassfish.grizzly.threadpool |
Modifier and Type | Field and Description |
---|---|
protected ThreadPoolConfig |
NIOTransportBuilder.kernelConfig |
protected ThreadPoolConfig |
AbstractTransport.kernelPoolConfig |
protected ThreadPoolConfig |
NIOTransportBuilder.workerConfig |
protected ThreadPoolConfig |
AbstractTransport.workerPoolConfig |
Modifier and Type | Method and Description |
---|---|
ThreadPoolConfig |
Transport.getKernelThreadPoolConfig() |
ThreadPoolConfig |
AbstractTransport.getKernelThreadPoolConfig() |
ThreadPoolConfig |
NIOTransportBuilder.getSelectorThreadPoolConfig() |
ThreadPoolConfig |
Transport.getWorkerThreadPoolConfig() |
ThreadPoolConfig |
NIOTransportBuilder.getWorkerThreadPoolConfig() |
ThreadPoolConfig |
AbstractTransport.getWorkerThreadPoolConfig() |
Modifier and Type | Method and Description |
---|---|
void |
Transport.setKernelThreadPoolConfig(ThreadPoolConfig kernelConfig)
Set the
ThreadPoolConfig to be used by the Transport internal
thread pool. |
void |
AbstractTransport.setKernelThreadPoolConfig(ThreadPoolConfig kernelPoolConfig)
Set the
ThreadPoolConfig to be used by the Transport internal
thread pool. |
T |
NIOTransportBuilder.setSelectorThreadPoolConfig(ThreadPoolConfig kernelConfig)
Sets the
ThreadPoolConfig that will be used to construct the
ExecutorService which will run the NIOTransport 's
SelectorRunner s. |
void |
Transport.setWorkerThreadPoolConfig(ThreadPoolConfig workerConfig)
Set the
ThreadPoolConfig to be used by the worker thread pool. |
T |
NIOTransportBuilder.setWorkerThreadPoolConfig(ThreadPoolConfig workerConfig)
Sets the
ThreadPoolConfig that will be used to construct the
ExecutorService for IOStrategies
that require worker threads |
void |
AbstractTransport.setWorkerThreadPoolConfig(ThreadPoolConfig workerPoolConfig)
Set the
ThreadPoolConfig to be used by the worker thread pool. |
Modifier and Type | Method and Description |
---|---|
ThreadPoolConfig |
WorkerThreadPoolConfigProducer.createDefaultWorkerPoolConfig(Transport transport) |
ThreadPoolConfig |
SimpleDynamicNIOStrategy.createDefaultWorkerPoolConfig(Transport transport) |
ThreadPoolConfig |
SameThreadIOStrategy.createDefaultWorkerPoolConfig(Transport transport) |
ThreadPoolConfig |
AbstractIOStrategy.createDefaultWorkerPoolConfig(Transport transport) |
Modifier and Type | Field and Description |
---|---|
protected ThreadPoolConfig |
GrizzlyExecutorService.config |
protected ThreadPoolConfig |
AbstractThreadPool.config |
Modifier and Type | Method and Description |
---|---|
ThreadPoolConfig |
ThreadPoolConfig.copy() |
static ThreadPoolConfig |
ThreadPoolConfig.defaultConfig()
Create new Grizzly thread-pool configuration instance.
|
ThreadPoolConfig |
AbstractThreadPool.getConfig() |
ThreadPoolConfig |
GrizzlyExecutorService.getConfiguration() |
ThreadPoolConfig |
ThreadPoolConfig.setCorePoolSize(int corePoolSize) |
ThreadPoolConfig |
ThreadPoolConfig.setDaemon(boolean isDaemon) |
ThreadPoolConfig |
ThreadPoolConfig.setInitialClassLoader(ClassLoader initialClassLoader)
Specifies the context classloader that will be used by threads in this pool.
|
ThreadPoolConfig |
ThreadPoolConfig.setKeepAliveTime(long time,
TimeUnit unit)
The max period of time a thread will wait for a new task to process.
|
ThreadPoolConfig |
ThreadPoolConfig.setMaxPoolSize(int maxPoolSize) |
ThreadPoolConfig |
ThreadPoolConfig.setMemoryManager(MemoryManager mm) |
ThreadPoolConfig |
ThreadPoolConfig.setPoolName(String poolname) |
ThreadPoolConfig |
ThreadPoolConfig.setPriority(int priority) |
ThreadPoolConfig |
ThreadPoolConfig.setQueue(Queue<Runnable> queue) |
ThreadPoolConfig |
ThreadPoolConfig.setQueueLimit(int queueLimit) |
ThreadPoolConfig |
ThreadPoolConfig.setThreadFactory(ThreadFactory threadFactory) |
ThreadPoolConfig |
ThreadPoolConfig.setTransactionMonitor(DelayedExecutor transactionMonitor) |
ThreadPoolConfig |
ThreadPoolConfig.setTransactionTimeout(DelayedExecutor transactionMonitor,
long transactionTimeout,
TimeUnit timeunit) |
ThreadPoolConfig |
ThreadPoolConfig.setTransactionTimeout(long transactionTimeout,
TimeUnit timeunit) |
Modifier and Type | Method and Description |
---|---|
static GrizzlyExecutorService |
GrizzlyExecutorService.createInstance(ThreadPoolConfig cfg) |
GrizzlyExecutorService |
GrizzlyExecutorService.reconfigure(ThreadPoolConfig config)
Sets the
ThreadPoolConfig |
protected void |
GrizzlyExecutorService.setImpl(ThreadPoolConfig cfg) |
Constructor and Description |
---|
AbstractThreadPool(ThreadPoolConfig config) |
FixedThreadPool(ThreadPoolConfig config) |
GrizzlyExecutorService(ThreadPoolConfig config) |
SyncThreadPool(ThreadPoolConfig config) |
Copyright © 2014 Oracle Corporation. All Rights Reserved.