Package | Description |
---|---|
org.glassfish.grizzly.threadpool | |
org.glassfish.grizzly.threadpool.jmx |
Modifier and Type | Class and Description |
---|---|
class |
FixedThreadPool
Minimalistic fixed thread pool to allow for nice scalability if a
good Queue impl is used.
|
class |
SyncThreadPool
ExecutorService implementation, which function the similar way as
former Grizzly 1.x Pipeline based thread pools. |
Modifier and Type | Method and Description |
---|---|
void |
ThreadPoolProbe.onMaxNumberOfThreadsEvent(AbstractThreadPool threadPool,
int maxNumberOfThreads)
This event may be fired when the
AbstractThreadPool implementation
has allocated and is managing a number of threads equal to the maximum limit
of the pool. |
void |
ThreadPoolProbe.Adapter.onMaxNumberOfThreadsEvent(AbstractThreadPool threadPool,
int maxNumberOfThreads)
This event may be fired when the
AbstractThreadPool implementation
has allocated and is managing a number of threads equal to the maximum limit
of the pool. |
void |
ThreadPoolProbe.onTaskCompleteEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a dequeued task has completed processing.
|
void |
ThreadPoolProbe.Adapter.onTaskCompleteEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a dequeued task has completed processing.
|
void |
ThreadPoolProbe.onTaskDequeueEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a task has been pulled from the queue and
is about to be processed.
|
void |
ThreadPoolProbe.Adapter.onTaskDequeueEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a task has been pulled from the queue and
is about to be processed.
|
void |
ThreadPoolProbe.onTaskQueueEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a task has been queued for processing.
|
void |
ThreadPoolProbe.Adapter.onTaskQueueEvent(AbstractThreadPool threadPool,
Runnable task)
This event may be fired when a task has been queued for processing.
|
void |
ThreadPoolProbe.onTaskQueueOverflowEvent(AbstractThreadPool threadPool)
This event may be fired when the task queue of the
AbstractThreadPool
implementation has exceeded its configured size. |
void |
ThreadPoolProbe.Adapter.onTaskQueueOverflowEvent(AbstractThreadPool threadPool)
This event may be fired when the task queue of the
AbstractThreadPool
implementation has exceeded its configured size. |
void |
ThreadPoolProbe.onThreadAllocateEvent(AbstractThreadPool threadPool,
Thread thread)
This event may be fired when an
AbstractThreadPool implementation
allocates a new managed Thread . |
void |
ThreadPoolProbe.Adapter.onThreadAllocateEvent(AbstractThreadPool threadPool,
Thread thread)
This event may be fired when an
AbstractThreadPool implementation
allocates a new managed Thread . |
void |
ThreadPoolProbe.onThreadPoolStartEvent(AbstractThreadPool threadPool)
This event may be fired when an
AbstractThreadPool implementation
starts running. |
void |
ThreadPoolProbe.Adapter.onThreadPoolStartEvent(AbstractThreadPool threadPool)
This event may be fired when an
AbstractThreadPool implementation
starts running. |
void |
ThreadPoolProbe.onThreadPoolStopEvent(AbstractThreadPool threadPool)
This event may be fired when an
AbstractThreadPool implementation
stops. |
void |
ThreadPoolProbe.Adapter.onThreadPoolStopEvent(AbstractThreadPool threadPool)
This event may be fired when an
AbstractThreadPool implementation
stops. |
void |
ThreadPoolProbe.onThreadReleaseEvent(AbstractThreadPool threadPool,
Thread thread)
This event may be fired when a thread will no longer be managed by the
AbstractThreadPool implementation. |
void |
ThreadPoolProbe.Adapter.onThreadReleaseEvent(AbstractThreadPool threadPool,
Thread thread)
This event may be fired when a thread will no longer be managed by the
AbstractThreadPool implementation. |
Constructor and Description |
---|
ThreadPool(AbstractThreadPool threadPool) |
Copyright © 2014 Oracle Corporation. All rights reserved.