|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.pool.impl.enhanced.impl.thread.ThreadPool
public class ThreadPool
| Constructor Summary | |
|---|---|
ThreadPool(IPool<IReusableThread> pool)
|
|
ThreadPool(IPool<IReusableThread> pool,
java.lang.Long waitTimeBeforeUsingSelfThread)
|
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Runnable runnable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadPool(IPool<IReusableThread> pool)
public ThreadPool(IPool<IReusableThread> pool,
java.lang.Long waitTimeBeforeUsingSelfThread)
pool - waitTimeBeforeUsingSelfThread - if null then the threadPool will
never use self thread| Method Detail |
|---|
public void execute(java.lang.Runnable runnable)
execute in interface java.util.concurrent.Executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||