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 Map<AbstractThreadPool.Worker,Long> |
AbstractThreadPool.workers |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractThreadPool.afterExecute(AbstractThreadPool.Worker worker,
Thread thread,
Runnable r,
Throwable t)
Method invoked upon completion of execution of the given Runnable.
|
protected void |
AbstractThreadPool.beforeExecute(AbstractThreadPool.Worker worker,
Thread t,
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 © 2015 Oracle Corporation. All rights reserved.