|
Protomatter Classes v1.1.6 | |||||||||
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.Hashtable 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.Hashtable 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 Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |