org.jgroups.blocks
protected class TCPConnectionMap.Mapper extends AbstractConnectionMap<TCPConnectionMap.TCPConnection>
AbstractConnectionMap.ConnectionMapListener<V>
conn_listeners, conns, factory, lock, log, reaper, reaperInterval, sock_creation_lock
Constructor and Description |
---|
TCPConnectionMap.Mapper(ThreadFactory factory) |
TCPConnectionMap.Mapper(ThreadFactory factory,
long reaper_interval) |
Modifier and Type | Method and Description |
---|---|
boolean |
connectionEstablishedTo(Address address) |
TCPConnectionMap.TCPConnection |
getConnection(Address dest) |
protected TCPConnectionMap.TCPConnection |
getConnectionUnderLock(Address dest) |
int |
size() |
String |
toString() |
addConnection, addConnectionMapListener, clear, getLock, getNumConnections, getThreadFactory, hasConnection, hasOpenConnection, notifyConnectionClosed, notifyConnectionOpened, printConnections, removeConnection, removeConnectionMapListener, retainAll, start, stop
public TCPConnectionMap.Mapper(ThreadFactory factory)
public TCPConnectionMap.Mapper(ThreadFactory factory, long reaper_interval)
protected TCPConnectionMap.TCPConnection getConnectionUnderLock(Address dest) throws Exception
Exception
public TCPConnectionMap.TCPConnection getConnection(Address dest) throws Exception
Exception
public boolean connectionEstablishedTo(Address address)
public int size()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.