| Package | Description |
|---|---|
| org.glassfish.grizzly.threadpool |
| Modifier and Type | Class and Description |
|---|---|
protected class |
SyncThreadPool.SyncThreadWorker |
| Modifier and Type | Field and Description |
|---|---|
protected DelayedExecutor.DelayQueue<AbstractThreadPool.Worker> |
AbstractThreadPool.delayedQueue |
protected java.util.Map<AbstractThreadPool.Worker,java.lang.Long> |
AbstractThreadPool.workers |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractThreadPool.afterExecute(AbstractThreadPool.Worker worker,
java.lang.Thread thread,
java.lang.Runnable r,
java.lang.Throwable t)
Method invoked upon completion of execution of the given Runnable.
|
protected void |
AbstractThreadPool.beforeExecute(AbstractThreadPool.Worker worker,
java.lang.Thread t,
java.lang.Runnable r)
Method invoked prior to executing the given Runnable in the
given thread.
|
protected void |
AbstractThreadPool.onWorkerExit(AbstractThreadPool.Worker worker)
Method is called by
AbstractThreadPool.Worker, when it's completing
run() method execution, which in most cases means,
that ThreadPool's thread will be released. |
protected void |
SyncThreadPool.onWorkerExit(AbstractThreadPool.Worker worker) |
protected void |
AbstractThreadPool.onWorkerStarted(AbstractThreadPool.Worker worker)
Method is called by
AbstractThreadPool.Worker, when it's starting
run() method execution, which means, that ThreadPool's
thread is getting active and ready to process tasks. |
protected void |
AbstractThreadPool.startWorker(AbstractThreadPool.Worker worker)
must hold statelock while calling this method.
|
protected void |
SyncThreadPool.startWorker(AbstractThreadPool.Worker worker) |
Copyright © 2018 Oracle Corporation. All Rights Reserved.