protected class TCPConnectionMap.Mapper extends AbstractConnectionMap<TCPConnectionMap.TCPConnection>
AbstractConnectionMap.ConnectionMapListener<V>
conn_listeners, conns, factory, lock, reaper, reaperInterval, sock_creation_lock
Constructor and Description |
---|
Mapper(ThreadFactory factory) |
Mapper(ThreadFactory factory,
long reaper_interval) |
Modifier and Type | Method and Description |
---|---|
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 Mapper(ThreadFactory factory)
public 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
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.