Package org.apache.cassandra.net
Class InboundConnectionSettings
- java.lang.Object
-
- org.apache.cassandra.net.InboundConnectionSettings
-
public class InboundConnectionSettings extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.cassandra.net.AcceptVersionsacceptMessagingorg.apache.cassandra.net.AcceptVersionsacceptStreamingjava.lang.IntegerapplicationReceiveQueueCapacityInBytesIInternodeAuthenticatorauthenticatorInetAddressAndPortbindAddressEncryptionOptions.ServerEncryptionOptionsencryptionjava.util.function.Function<InetAddressAndPort,InboundMessageHandlers>handlersSocketFactorysocketFactoryjava.lang.IntegersocketReceiveBufferSizeInBytes
-
Constructor Summary
Constructors Constructor Description InboundConnectionSettings()
-
Method Summary
-
-
-
Field Detail
-
authenticator
public final IInternodeAuthenticator authenticator
-
bindAddress
public final InetAddressAndPort bindAddress
-
encryption
public final EncryptionOptions.ServerEncryptionOptions encryption
-
socketReceiveBufferSizeInBytes
public final java.lang.Integer socketReceiveBufferSizeInBytes
-
applicationReceiveQueueCapacityInBytes
public final java.lang.Integer applicationReceiveQueueCapacityInBytes
-
acceptMessaging
public final org.apache.cassandra.net.AcceptVersions acceptMessaging
-
acceptStreaming
public final org.apache.cassandra.net.AcceptVersions acceptStreaming
-
socketFactory
public final SocketFactory socketFactory
-
handlers
public final java.util.function.Function<InetAddressAndPort,InboundMessageHandlers> handlers
-
-
Method Detail
-
authenticate
public boolean authenticate(InetAddressAndPort endpoint)
-
authenticate
public boolean authenticate(java.net.InetAddress address, int port)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withAuthenticator
public InboundConnectionSettings withAuthenticator(IInternodeAuthenticator authenticator)
-
withBindAddress
public InboundConnectionSettings withBindAddress(InetAddressAndPort bindAddress)
-
withEncryption
public InboundConnectionSettings withEncryption(EncryptionOptions.ServerEncryptionOptions encryption)
-
withSocketReceiveBufferSizeInBytes
public InboundConnectionSettings withSocketReceiveBufferSizeInBytes(int socketReceiveBufferSizeInBytes)
-
withApplicationReceiveQueueCapacityInBytes
public InboundConnectionSettings withApplicationReceiveQueueCapacityInBytes(int applicationReceiveQueueCapacityInBytes)
-
withAcceptMessaging
public InboundConnectionSettings withAcceptMessaging(org.apache.cassandra.net.AcceptVersions acceptMessaging)
-
withAcceptStreaming
public InboundConnectionSettings withAcceptStreaming(org.apache.cassandra.net.AcceptVersions acceptMessaging)
-
withSocketFactory
public InboundConnectionSettings withSocketFactory(SocketFactory socketFactory)
-
withHandlers
public InboundConnectionSettings withHandlers(java.util.function.Function<InetAddressAndPort,InboundMessageHandlers> handlers)
-
withLegacySslStoragePortDefaults
public InboundConnectionSettings withLegacySslStoragePortDefaults()
-
withDefaults
public InboundConnectionSettings withDefaults()
-
-