public class OutboundTcpConnectionPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
LARGE_MESSAGE_THRESHOLD |
OutboundTcpConnection |
largeMessages |
OutboundTcpConnection |
smallMessages |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.net.InetAddress |
endPoint() |
long |
getTimeouts() |
void |
incrementTimeout() |
static boolean |
isEncryptedChannel(java.net.InetAddress address) |
java.net.Socket |
newSocket() |
static java.net.Socket |
newSocket(java.net.InetAddress endpoint) |
void |
reset(java.net.InetAddress remoteEP)
reconnect to @param remoteEP (after the current message backlog is exhausted).
|
void |
resetToNewerVersion(int version) |
void |
start() |
void |
waitForStarted() |
public static final long LARGE_MESSAGE_THRESHOLD
public final OutboundTcpConnection smallMessages
public final OutboundTcpConnection largeMessages
public void resetToNewerVersion(int version)
public void reset(java.net.InetAddress remoteEP)
remoteEP
- public long getTimeouts()
public void incrementTimeout()
public java.net.Socket newSocket() throws java.io.IOException
java.io.IOException
public static java.net.Socket newSocket(java.net.InetAddress endpoint) throws java.io.IOException
java.io.IOException
public java.net.InetAddress endPoint()
public static boolean isEncryptedChannel(java.net.InetAddress address)
public void start()
public void waitForStarted()
public void close()
Copyright © 2015 The Apache Software Foundation