public class OutboundConnectionSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OutboundConnectionSettings.Framing |
Modifier and Type | Field and Description |
---|---|
org.apache.cassandra.net.AcceptVersions |
acceptVersions |
java.lang.Integer |
applicationSendQueueCapacityInBytes |
java.lang.Integer |
applicationSendQueueReserveEndpointCapacityInBytes |
ResourceLimits.Limit |
applicationSendQueueReserveGlobalCapacityInBytes |
IInternodeAuthenticator |
authenticator |
org.apache.cassandra.net.OutboundMessageCallbacks |
callbacks |
InetAddressAndPort |
connectTo |
org.apache.cassandra.net.OutboundDebugCallbacks |
debug |
EncryptionOptions |
encryption |
EndpointMessagingVersions |
endpointToVersion |
int |
flushHighWaterMark |
int |
flushLowWaterMark |
OutboundConnectionSettings.Framing |
framing |
InetAddressAndPort |
from |
SocketFactory |
socketFactory |
java.lang.Integer |
socketSendBufferSizeInBytes |
java.lang.Integer |
tcpConnectTimeoutInMS |
java.lang.Boolean |
tcpNoDelay |
java.lang.Integer |
tcpUserTimeoutInMS |
InetAddressAndPort |
to |
Constructor and Description |
---|
OutboundConnectionSettings(InetAddressAndPort to) |
OutboundConnectionSettings(InetAddressAndPort to,
InetAddressAndPort preferred) |
public final IInternodeAuthenticator authenticator
public final InetAddressAndPort to
public final InetAddressAndPort connectTo
public final EncryptionOptions encryption
public final OutboundConnectionSettings.Framing framing
public final java.lang.Integer socketSendBufferSizeInBytes
public final java.lang.Integer applicationSendQueueCapacityInBytes
public final java.lang.Integer applicationSendQueueReserveEndpointCapacityInBytes
public final ResourceLimits.Limit applicationSendQueueReserveGlobalCapacityInBytes
public final java.lang.Boolean tcpNoDelay
public final int flushLowWaterMark
public final int flushHighWaterMark
public final java.lang.Integer tcpConnectTimeoutInMS
public final java.lang.Integer tcpUserTimeoutInMS
public final org.apache.cassandra.net.AcceptVersions acceptVersions
public final InetAddressAndPort from
public final SocketFactory socketFactory
public final org.apache.cassandra.net.OutboundMessageCallbacks callbacks
public final org.apache.cassandra.net.OutboundDebugCallbacks debug
public final EndpointMessagingVersions endpointToVersion
public OutboundConnectionSettings(InetAddressAndPort to)
public OutboundConnectionSettings(InetAddressAndPort to, InetAddressAndPort preferred)
public boolean authenticate()
public boolean withEncryption()
public java.lang.String toString()
toString
in class java.lang.Object
public OutboundConnectionSettings withAuthenticator(IInternodeAuthenticator authenticator)
public OutboundConnectionSettings toEndpoint(InetAddressAndPort endpoint)
public OutboundConnectionSettings withConnectTo(InetAddressAndPort connectTo)
public OutboundConnectionSettings withEncryption(EncryptionOptions.ServerEncryptionOptions encryption)
public OutboundConnectionSettings withFraming(OutboundConnectionSettings.Framing framing)
public OutboundConnectionSettings withSocketSendBufferSizeInBytes(int socketSendBufferSizeInBytes)
public OutboundConnectionSettings withApplicationSendQueueCapacityInBytes(int applicationSendQueueCapacityInBytes)
public OutboundConnectionSettings withApplicationReserveSendQueueCapacityInBytes(java.lang.Integer applicationReserveSendQueueEndpointCapacityInBytes, ResourceLimits.Limit applicationReserveSendQueueGlobalCapacityInBytes)
public OutboundConnectionSettings withTcpNoDelay(boolean tcpNoDelay)
public OutboundConnectionSettings withNettyBufferBounds(io.netty.channel.WriteBufferWaterMark nettyBufferBounds)
public OutboundConnectionSettings withTcpConnectTimeoutInMS(int tcpConnectTimeoutInMS)
public OutboundConnectionSettings withTcpUserTimeoutInMS(int tcpUserTimeoutInMS)
public OutboundConnectionSettings withAcceptVersions(org.apache.cassandra.net.AcceptVersions acceptVersions)
public OutboundConnectionSettings withFrom(InetAddressAndPort from)
public OutboundConnectionSettings withSocketFactory(SocketFactory socketFactory)
public OutboundConnectionSettings withCallbacks(org.apache.cassandra.net.OutboundMessageCallbacks callbacks)
public OutboundConnectionSettings withDebugCallbacks(org.apache.cassandra.net.OutboundDebugCallbacks debug)
public OutboundConnectionSettings withDefaultReserveLimits()
public IInternodeAuthenticator authenticator()
public EndpointMessagingVersions endpointToVersion()
public InetAddressAndPort from()
public org.apache.cassandra.net.OutboundDebugCallbacks debug()
public EncryptionOptions encryption()
public SocketFactory socketFactory()
public org.apache.cassandra.net.OutboundMessageCallbacks callbacks()
public int socketSendBufferSizeInBytes()
public int applicationSendQueueCapacityInBytes()
public ResourceLimits.Limit applicationSendQueueReserveGlobalCapacityInBytes()
public int applicationSendQueueReserveEndpointCapacityInBytes()
public int tcpConnectTimeoutInMS()
public int tcpUserTimeoutInMS(ConnectionCategory category)
public boolean tcpNoDelay()
public org.apache.cassandra.net.AcceptVersions acceptVersions(ConnectionCategory category)
public OutboundConnectionSettings withLegacyPortIfNecessary(int messagingVersion)
public InetAddressAndPort connectTo()
public java.lang.String connectToId()
public OutboundConnectionSettings.Framing framing(ConnectionCategory category)
public OutboundConnectionSettings withDefaults(ConnectionCategory category)
Copyright © 2009- The Apache Software Foundation