|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectzeus.actors.factories.ConnectionPool
| Field Summary | |
private OutTray[] |
connections
|
private java.lang.String[] |
keys
|
int |
MAX_CONNECTIONS
|
private int |
write
|
| Constructor Summary | |
ConnectionPool()
|
|
| Method Summary | |
void |
addConnection(java.lang.String address,
OutTray connection)
store a connection in the pool. |
OutTray |
getConnection(java.lang.String address)
get a connection from the connection pool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int MAX_CONNECTIONS
private OutTray[] connections
private java.lang.String[] keys
private int write
| Constructor Detail |
public ConnectionPool()
| Method Detail |
public OutTray getConnection(java.lang.String address)
throws NotFoundException
NotFoundException
public void addConnection(java.lang.String address,
OutTray connection)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||