org.apache.cassandra.net
Class OutboundTcpConnectionPool
java.lang.Object
org.apache.cassandra.net.OutboundTcpConnectionPool
public class OutboundTcpConnectionPool
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmdCon
public final OutboundTcpConnection cmdCon
ackCon
public final OutboundTcpConnection ackCon
resetToNewerVersion
public void resetToNewerVersion(int version)
reset
public void reset(java.net.InetAddress remoteEP)
- reconnect to @param remoteEP (after the current message backlog is exhausted).
Used by Ec2MultiRegionSnitch to force nodes in the same region to communicate over their private IPs.
- Parameters:
remoteEP
-
getTimeouts
public long getTimeouts()
getRecentTimeouts
public long getRecentTimeouts()
incrementTimeout
public void incrementTimeout()
newSocket
public java.net.Socket newSocket()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
Copyright © 2013 The Apache Software Foundation