org.apache.cassandra.net
Class OutboundTcpConnectionPool

java.lang.Object
  extended by org.apache.cassandra.net.OutboundTcpConnectionPool

public class OutboundTcpConnectionPool
extends java.lang.Object


Field Summary
 OutboundTcpConnection ackCon
           
 OutboundTcpConnection cmdCon
           
 
Method Summary
 void close()
           
 long getRecentTimeouts()
           
 long getTimeouts()
           
 void incrementTimeout()
           
 java.net.Socket newSocket()
           
 void reset(java.net.InetAddress remoteEP)
          reconnect to @param remoteEP (after the current message backlog is exhausted).
 void resetToNewerVersion(int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cmdCon

public final OutboundTcpConnection cmdCon

ackCon

public final OutboundTcpConnection ackCon
Method Detail

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