Uses of Class
org.glassfish.grizzly.threadpool.AbstractThreadPool
Packages that use AbstractThreadPool
-
Uses of AbstractThreadPool in org.glassfish.grizzly.threadpool
Subclasses of AbstractThreadPool in org.glassfish.grizzly.threadpoolModifier and TypeClassDescriptionclassMinimalistic fixed thread pool to allow for nice scalability if a good Queue impl is used.classExecutorServiceimplementation, which function the similar way as former Grizzly 1.x Pipeline based thread pools.Methods in org.glassfish.grizzly.threadpool with parameters of type AbstractThreadPoolModifier and TypeMethodDescriptionvoidThreadPoolProbe.Adapter.onMaxNumberOfThreadsEvent(AbstractThreadPool threadPool, int maxNumberOfThreads) This event may be fired when theAbstractThreadPoolimplementation has allocated and is managing a number of threads equal to the maximum limit of the pool.voidThreadPoolProbe.onMaxNumberOfThreadsEvent(AbstractThreadPool threadPool, int maxNumberOfThreads) This event may be fired when theAbstractThreadPoolimplementation has allocated and is managing a number of threads equal to the maximum limit of the pool.voidThreadPoolProbe.Adapter.onTaskCancelEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a dequeued task has been canceled.voidThreadPoolProbe.onTaskCancelEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a dequeued task has been canceled.voidThreadPoolProbe.Adapter.onTaskCompleteEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a dequeued task has completed processing.voidThreadPoolProbe.onTaskCompleteEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a dequeued task has completed processing.voidThreadPoolProbe.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.voidThreadPoolProbe.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.voidThreadPoolProbe.Adapter.onTaskQueueEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a task has been queued for processing.voidThreadPoolProbe.onTaskQueueEvent(AbstractThreadPool threadPool, Runnable task) This event may be fired when a task has been queued for processing.voidThreadPoolProbe.Adapter.onTaskQueueOverflowEvent(AbstractThreadPool threadPool) This event may be fired when the task queue of theAbstractThreadPoolimplementation has exceeded its configured size.voidThreadPoolProbe.onTaskQueueOverflowEvent(AbstractThreadPool threadPool) This event may be fired when the task queue of theAbstractThreadPoolimplementation has exceeded its configured size.voidThreadPoolProbe.Adapter.onThreadAllocateEvent(AbstractThreadPool threadPool, Thread thread) This event may be fired when anAbstractThreadPoolimplementation allocates a new managedThread.voidThreadPoolProbe.onThreadAllocateEvent(AbstractThreadPool threadPool, Thread thread) This event may be fired when anAbstractThreadPoolimplementation allocates a new managedThread.voidThreadPoolProbe.Adapter.onThreadPoolStartEvent(AbstractThreadPool threadPool) This event may be fired when anAbstractThreadPoolimplementation starts running.voidThreadPoolProbe.onThreadPoolStartEvent(AbstractThreadPool threadPool) This event may be fired when anAbstractThreadPoolimplementation starts running.voidThreadPoolProbe.Adapter.onThreadPoolStopEvent(AbstractThreadPool threadPool) This event may be fired when anAbstractThreadPoolimplementation stops.voidThreadPoolProbe.onThreadPoolStopEvent(AbstractThreadPool threadPool) This event may be fired when anAbstractThreadPoolimplementation stops.voidThreadPoolProbe.Adapter.onThreadReleaseEvent(AbstractThreadPool threadPool, Thread thread) This event may be fired when a thread will no longer be managed by theAbstractThreadPoolimplementation.voidThreadPoolProbe.onThreadReleaseEvent(AbstractThreadPool threadPool, Thread thread) This event may be fired when a thread will no longer be managed by theAbstractThreadPoolimplementation.