protected class TCPConnectionMap.Mapper extends AbstractConnectionMap<TCPConnectionMap.TCPConnection>
AbstractConnectionMap.ConnectionMapListener<V>
conn_listeners, conns, factory, lock, reaper, reaperInterval, sock_creation_lock
构造器和说明 |
---|
TCPConnectionMap.Mapper(ThreadFactory factory) |
TCPConnectionMap.Mapper(ThreadFactory factory,
long reaper_interval) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
connectionEstablishedTo(Address address) |
TCPConnectionMap.TCPConnection |
getConnection(Address dest) |
int |
size() |
java.lang.String |
toString() |
addConnection, addConnectionMapListener, clear, getLock, getNumConnections, getNumOpenConnections, getThreadFactory, hasConnection, notifyConnectionClosed, notifyConnectionOpened, printConnections, removeConnectionIfPresent, removeConnectionMapListener, retainAll, start, stop
public TCPConnectionMap.Mapper(ThreadFactory factory)
public TCPConnectionMap.Mapper(ThreadFactory factory, long reaper_interval)
public TCPConnectionMap.TCPConnection getConnection(Address dest) throws java.lang.Exception
java.lang.Exception
public boolean connectionEstablishedTo(Address address)
public int size()
public java.lang.String toString()
toString
在类中 java.lang.Object