|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iom.orb.ExecutorServiceThreadPool
public class ExecutorServiceThreadPool
ThreadPool implementation that wraps an ExecutorService.
| Constructor Summary | |
|---|---|
ExecutorServiceThreadPool(java.util.concurrent.ExecutorService executor)
Construct an ExecutorServiceThreadPool. |
|
| Method Summary | |
|---|---|
void |
executeDaemon(com.sas.iom.orb.WorkInterface work)
Execute a unit of work on an idle thread in the pool. |
void |
term()
Release resources associated with the pool. |
| Constructor Detail |
|---|
public ExecutorServiceThreadPool(java.util.concurrent.ExecutorService executor)
executor - the executor service to wrap| Method Detail |
|---|
public void executeDaemon(com.sas.iom.orb.WorkInterface work)
throws com.sas.iom.orb.WorkException
executeDaemon in class com.sas.iom.orb.ThreadPoolcom.sas.iom.orb.WorkException - if the pool refuses to execute
the workpublic void term()
term in class com.sas.iom.orb.ThreadPool
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||