Package biz.onixs.util.pool
Interface ObjectPool<T>
-
- All Known Implementing Classes:
Pool
public interface ObjectPool<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TborrowObject()intgetNumActive()intgetNumIdle()voidreturnObject(T object)voidreturnObjects(Collection<T> collection)
-
-
-
Method Detail
-
borrowObject
T borrowObject()
-
returnObject
void returnObject(T object)
-
returnObjects
void returnObjects(Collection<T> collection)
-
getNumActive
int getNumActive()
-
getNumIdle
int getNumIdle()
-
-