|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavacli.ConnectionPool
public class ConnectionPool
Perform connection pooling
| Constructor Summary | |
|---|---|
ConnectionPool()
|
|
| Method Summary | |
|---|---|
void |
close()
Physically close all opened connections |
Connection |
newConnection(java.lang.String hostAddress,
int hostPort)
Make new pooled connection. |
void |
releaseConnection(Connection conxn)
Return conection to the pool |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionPool()
| Method Detail |
|---|
public Connection newConnection(java.lang.String hostAddress,
int hostPort)
hostAddress - string with server host namehostPort - integer number with server portpublic void releaseConnection(Connection conxn)
conxn - released connectionpublic void close()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||