Interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,A>,S extends ProtocolServerConfigurationChildBuilder<T,S,A>,A extends AuthenticationConfiguration>
- Type Parameters:
T
- the root configuration object returned by the builder. Must extendProtocolServerConfiguration
S
- the sub-builder this is an implementation of. Must extend ProtocolServerConfigurationChildBuilder
- All Superinterfaces:
Self<S>
- All Known Implementing Classes:
AbstractProtocolServerConfigurationChildBuilder
,HotRodServerConfigurationBuilder
,IpFilterConfigurationBuilder
,MemcachedServerConfigurationBuilder
,ProtocolServerConfigurationBuilder
,RestAuthenticationConfigurationBuilder
,RestServerConfigurationBuilder
,SslConfigurationBuilder
public interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,A>,S extends ProtocolServerConfigurationChildBuilder<T,S,A>,A extends AuthenticationConfiguration>
extends Self<S>
ProtocolServerConfigurationChildBuilder.
- Since:
- 5.3
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionIndicates theAdminOperationsHandler
which will be used to handle admin operationsbuild()
Builds a configuration objectdefaultCacheName
(String defaultCacheName) Specifies the cache to use as a default cache for the protocolSpecifies the host or IP address on which this server will listenidleTimeout
(int idleTimeout) Specifies the maximum time that connections from client will be kept open without activityimplicitConnector
(boolean implicitConnector) Indicates whether this connector was added implicitlyioThreads
(int ioThreads) Sets the number of I/O threadsipFilter()
Configures the IP filter rulesSpecifies a custom name for this protocol server in order to easily distinguish it from others of the same type on the same server, e.g.port
(int port) Specifies the port on which this server will listenrecvBufSize
(int recvBufSize) Sets the size of the receive buffersendBufSize
(int sendBufSize) Sets the size of the send buffersocketBinding
(String name) Indicates the name of socket binding which will be usedssl()
Configures SSLstartTransport
(boolean startTransport) Indicates whether transport implementation should or should not be started.tcpKeepAlive
(boolean tcpKeepAlive) Affects TCP KEEPALIVE on the TCP stack.tcpNoDelay
(boolean tcpNoDelay) Affects TCP NODELAY on the TCP stack.
-
Method Details
-
defaultCacheName
Specifies the cache to use as a default cache for the protocol -
name
Specifies a custom name for this protocol server in order to easily distinguish it from others of the same type on the same server, e.g. via JMX. Defaults to the empty string. The name should be the same across the cluster. -
host
Specifies the host or IP address on which this server will listen -
port
Specifies the port on which this server will listen -
idleTimeout
Specifies the maximum time that connections from client will be kept open without activity -
tcpNoDelay
Affects TCP NODELAY on the TCP stack. Defaults to enabled -
tcpKeepAlive
Affects TCP KEEPALIVE on the TCP stack. Defaults to disabled -
recvBufSize
Sets the size of the receive buffer -
sendBufSize
Sets the size of the send buffer -
authentication
AuthenticationConfigurationBuilder<A> authentication() -
ssl
SslConfigurationBuilder<T,S, ssl()A> Configures SSL -
ipFilter
IpFilterConfigurationBuilder<T,S, ipFilter()A> Configures the IP filter rules -
ioThreads
Sets the number of I/O threads -
startTransport
Indicates whether transport implementation should or should not be started. -
adminOperationsHandler
Indicates theAdminOperationsHandler
which will be used to handle admin operations -
socketBinding
Indicates the name of socket binding which will be used -
implicitConnector
Indicates whether this connector was added implicitly -
build
T build()Builds a configuration object
-