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 Server
build()
Server.Builder
withEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
Server.Builder
withEventNotifier(Server.EventNotifier eventNotifier)
Server.Builder
withHost(java.net.InetAddress host)
Server.Builder
withPipelineConfigurator(PipelineConfigurator configurator)
Server.Builder
withPort(int port)
Server.Builder
withTlsEncryptionPolicy(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()
-
-