|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.pool.impl.enhanced.EnhancedPoolFactory
public class EnhancedPoolFactory
| Constructor Summary | |
|---|---|
EnhancedPoolFactory(IPool<IReusableThread> pool)
|
|
| Method Summary | ||
|---|---|---|
|
createEnhancedPool(IPoolManager<E> poolManager)
You should use this method to create EnhancedPool. |
|
|
createEnhancedPool(IPoolManager<E> poolManager,
boolean setSizeShared,
boolean schedulerShared)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnhancedPoolFactory(IPool<IReusableThread> pool)
| Method Detail |
|---|
public <E> EnhancedPool<E> createEnhancedPool(IPoolManager<E> poolManager)
EnhancedPool.
E - pool item typepoolManager - a pool manager
public <E> EnhancedPool<E> createEnhancedPool(IPoolManager<E> poolManager,
boolean setSizeShared,
boolean schedulerShared)
E - pool item typepoolManager - a pool managersetSizeShared - if true setExpectiveSize will be called in a
separate thread, you should prefers the schedulerShared option
because on a remove call the creation will be on self thread.schedulerShared - each time a pool item is needed a shared executor
will be used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||