|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectPool<T>
| Method Summary | |
|---|---|
T |
getObj()
PoolSettings<MyType> poolSettings = ....; MyType myType = poolSettings.pool().getObj(); |
void |
returnObj(T object)
Return object to the pool |
| Method Detail |
|---|
T getObj()
throws PoolException
PoolSettings<MyType> poolSettings = ....;
MyType myType = poolSettings.pool().getObj();
java.lang.InterruptedException
PoolExceptionvoid returnObj(T object)
object -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||