|
|||||||||
| Home >> All >> org >> scopemvc >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.scopemvc.util
Interface ObjectPool

- All Known Implementing Classes:
- BasicObjectPool
- public interface ObjectPool
Pool of objects
- Version:
- $Revision: 1.2 $
| Method Summary | |
java.lang.Object |
borrowObject()
Obtains an instance of the pooled class. |
java.lang.Object |
borrowObjectIfExists()
Obtains an instance of the pooled class. |
void |
returnObject(java.lang.Object object)
Returns an instance to the pool. |
| Method Detail |
borrowObject
public java.lang.Object borrowObject()
- Obtains an instance of the pooled class. Blocks if no free instances.
borrowObjectIfExists
public java.lang.Object borrowObjectIfExists()
- Obtains an instance of the pooled class. Returns null if no free
instances.
returnObject
public void returnObject(java.lang.Object object)
- Returns an instance to the pool.
|
|||||||||
| Home >> All >> org >> scopemvc >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC