|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.transport.nio.tcp.NioTcpClientConnectionPool
public class NioTcpClientConnectionPool
Implements a pool of client-side SocketConnection instances.
It multiplexes the pooled connections among multiple callers.
| Method Summary | |
|---|---|
RmiConnection |
acquire()
Acquires a connection from this pool. |
void |
clear()
Closes all connections kept internally and removes them. |
java.lang.String |
getTransportType()
Returns the "transport type" of the connections held by this instance. |
void |
release(Connection conn)
Releases the given connection to this pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public RmiConnection acquire()
throws java.rmi.RemoteException
Connections
acquire in interface ConnectionsConnection.
java.rmi.RemoteException - if a problem occurs acquiring a connection.Connections.acquire()public void release(Connection conn)
Connections
release in interface ConnectionsConnections.release(Connection)public void clear()
Connections
clear in interface ConnectionsConnections.clear()public java.lang.String getTransportType()
Connections
getTransportType in interface ConnectionsConnections.getTransportType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||