|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionPool
Common interface for the implementation of a pool
Method Summary | |
---|---|
void |
checkIn(IConnection connection)
Give a connection back to the pool |
IConnection |
checkOut()
Get a connection from the pool |
int |
getCapacity()
Get the maximum capacity of the pool |
int |
getSize()
Get the size of the pool, or how many connections are in it |
Method Detail |
---|
IConnection checkOut()
void checkIn(IConnection connection)
connection
- the connection to return to the poolint getSize()
int getCapacity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |