| Package | Description |
|---|---|
| org.apache.avalon.excalibur.thread.impl | |
| org.apache.excalibur.thread.impl |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
SimpleWorkerThread
This class extends the Thread class to add recyclable functionalities.
|
| Modifier and Type | Method and Description |
|---|---|
protected WorkerThread |
BasicThreadPool.getWorker()
Retrieve a worker thread from pool.
|
protected WorkerThread |
BasicThreadPool.newWorkerThread(java.lang.String name)
Overide newWorkerThread to provide a WorkerThread
that is Poolable and LogEnabled.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicThreadPool.releaseWorker(WorkerThread worker)
Release worker back into pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected WorkerThread |
AbstractThreadPool.createWorker()
Create a WorkerThread and start it up.
|
protected abstract WorkerThread |
AbstractThreadPool.getWorker()
Retrieve a worker thread from pool.
|
protected WorkerThread |
AbstractThreadPool.newWorkerThread(java.lang.String name)
Create a new worker for pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractThreadPool.destroyWorker(WorkerThread thread)
Destroy a worker thread by scheduling it for shutdown.
|
protected abstract void |
AbstractThreadPool.releaseWorker(WorkerThread worker)
Return the WorkerThread to the pool.
|