|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.pool.impl.enhanced.ReusableThreadPoolFactory
public final class ReusableThreadPoolFactory
| Method Summary | |
|---|---|
static IPool<IReusableThread> |
createExecutorThreadPool(java.util.concurrent.Executor executor,
int limit)
Use the executor to create, fetch and record items of pool (Executor). |
static IPool<IReusableThread> |
createManagementThreadPool(int poolSize)
Use a management thread to create new pool item (Executor). |
static IPool<IReusableThread> |
createWorkManagerThreadPool(javax.resource.spi.work.WorkManager workManager,
int limit)
Use the work manager to create, fetch and record items of pool (Executor). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IPool<IReusableThread> createManagementThreadPool(int poolSize)
poolSize - the number of management thread
public static IPool<IReusableThread> createWorkManagerThreadPool(javax.resource.spi.work.WorkManager workManager,
int limit)
workManager - the workManagerlimit - max call to doSchedule of pool management
public static IPool<IReusableThread> createExecutorThreadPool(java.util.concurrent.Executor executor,
int limit)
executor - the executorlimit - max call to execute of pool management
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||