|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPool
A pool of objects.
Method Summary | |
---|---|
void |
checkin(Object object)
Add an object to the pool. |
Object |
checkout()
Get an object from the pool. |
void |
close()
Close the pool. |
void |
destroy(Object object)
Destroy an object previously allocated from the pool. |
Method Detail |
---|
void checkin(Object object) throws Exception
object
- The object to be added to the pool.
Exception
Object checkout() throws Exception
This may be a reused object or a new one, up to the pool strategy and size.
Exception
void close() throws Exception
Exception
void destroy(Object object) throws Exception
object
- The object to be destroyed.
Exception
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |