Package org.apache.cassandra.transport
Class Server.Builder
- java.lang.Object
-
- org.apache.cassandra.transport.Server.Builder
-
- Enclosing class:
- Server
public static class Server.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serverbuild()Server.BuilderwithEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)Server.BuilderwithEventNotifier(Server.EventNotifier eventNotifier)Server.BuilderwithHost(java.net.InetAddress host)Server.BuilderwithPipelineConfigurator(PipelineConfigurator configurator)Server.BuilderwithPort(int port)Server.BuilderwithTlsEncryptionPolicy(EncryptionOptions.TlsEncryptionPolicy tlsEncryptionPolicy)
-
-
-
Method Detail
-
withTlsEncryptionPolicy
public Server.Builder withTlsEncryptionPolicy(EncryptionOptions.TlsEncryptionPolicy tlsEncryptionPolicy)
-
withEventLoopGroup
public Server.Builder withEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
-
withHost
public Server.Builder withHost(java.net.InetAddress host)
-
withPort
public Server.Builder withPort(int port)
-
withPipelineConfigurator
public Server.Builder withPipelineConfigurator(PipelineConfigurator configurator)
-
withEventNotifier
public Server.Builder withEventNotifier(Server.EventNotifier eventNotifier)
-
build
public Server build()
-
-