Uses of Class
org.glassfish.grizzly.threadpool.AbstractThreadPool.Worker
Packages that use AbstractThreadPool.Worker
-
Uses of AbstractThreadPool.Worker in org.glassfish.grizzly.threadpool
Subclasses of AbstractThreadPool.Worker in org.glassfish.grizzly.threadpoolFields in org.glassfish.grizzly.threadpool with type parameters of type AbstractThreadPool.WorkerModifier and TypeFieldDescriptionprotected final DelayedExecutor.DelayQueue<AbstractThreadPool.Worker>AbstractThreadPool.delayedQueueprotected final Map<AbstractThreadPool.Worker,Long> AbstractThreadPool.workersMethods in org.glassfish.grizzly.threadpool with parameters of type AbstractThreadPool.WorkerModifier and TypeMethodDescriptionprotected voidAbstractThreadPool.afterExecute(AbstractThreadPool.Worker worker, Thread thread, Runnable r, Throwable t) Method invoked upon completion of execution of the given Runnable.protected voidAbstractThreadPool.beforeExecute(AbstractThreadPool.Worker worker, Thread t, Runnable r) Method invoked prior to executing the given Runnable in the given thread.protected voidAbstractThreadPool.onWorkerExit(AbstractThreadPool.Worker worker) Method is called byAbstractThreadPool.Worker, when it's completingrun()method execution, which in most cases means, that ThreadPool's thread will be released.protected voidSyncThreadPool.onWorkerExit(AbstractThreadPool.Worker worker) protected voidAbstractThreadPool.onWorkerStarted(AbstractThreadPool.Worker worker) Method is called byAbstractThreadPool.Worker, when it's startingrun()method execution, which means, that ThreadPool's thread is getting active and ready to process tasks.protected voidAbstractThreadPool.startWorker(AbstractThreadPool.Worker worker) must hold statelock while calling this method.protected voidSyncThreadPool.startWorker(AbstractThreadPool.Worker worker)