|
Protomatter Software v1.1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for a generic object pool.
ObjectPoolObject
Method Summary | |
void |
checkin(ObjectPoolObject opo)
Put an object back into the pool. |
ObjectPoolObject |
checkout()
Get an object out of the pool. |
int |
getObjectsInUse()
Get the current number of objects that have been checked out. |
void |
init(java.util.Map ht)
Initialize the pool. |
void |
reInitializeObjectPool()
Re-initialize the object pool. |
Method Detail |
public ObjectPoolObject checkout() throws java.lang.Exception
java.lang.Exception
- If there is a problem checking something out of the pool.public void checkin(ObjectPoolObject opo) throws java.lang.Exception
public void init(java.util.Map ht) throws java.lang.Exception
java.lang.Exception
- If there is a problem initializing the pool.public void reInitializeObjectPool() throws java.lang.Exception
java.lang.Exception
- If there is a problem re-initializing the pool.public int getObjectsInUse()
|
Protomatter Software v1.1.7 Copyright 1998-2002 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Software v1.1.7 | http://protomatter.sourceforge.net/1.1.7 |