Class AbstractProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,A>,S extends ProtocolServerConfigurationChildBuilder<T,S,A>,A extends AuthenticationConfiguration>
java.lang.Object
org.infinispan.server.core.configuration.AbstractProtocolServerConfigurationChildBuilder<T,S,A>
- All Implemented Interfaces:
Self<S>
,ProtocolServerConfigurationChildBuilder<T,
S, A>
- Direct Known Subclasses:
IpFilterConfigurationBuilder
,RestAuthenticationConfigurationBuilder
,SslConfigurationBuilder
public abstract class AbstractProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,A>,S extends ProtocolServerConfigurationChildBuilder<T,S,A>,A extends AuthenticationConfiguration>
extends Object
implements ProtocolServerConfigurationChildBuilder<T,S,A>
Helper
- Since:
- 9.1
- Author:
- Tristan Tarrant
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractProtocolServerConfigurationChildBuilder
(ProtocolServerConfigurationChildBuilder<T, S, A> builder) -
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.
-
Field Details
-
builder
protected final ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,A>, builderS extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
-
Constructor Details
-
AbstractProtocolServerConfigurationChildBuilder
protected AbstractProtocolServerConfigurationChildBuilder(ProtocolServerConfigurationChildBuilder<T, S, A> builder)
-
-
Method Details
-
defaultCacheName
Description copied from interface:ProtocolServerConfigurationChildBuilder
Specifies the cache to use as a default cache for the protocol- Specified by:
defaultCacheName
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
name
Description copied from interface:ProtocolServerConfigurationChildBuilder
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.- Specified by:
name
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
host
Description copied from interface:ProtocolServerConfigurationChildBuilder
Specifies the host or IP address on which this server will listen- Specified by:
host
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
port
Description copied from interface:ProtocolServerConfigurationChildBuilder
Specifies the port on which this server will listen- Specified by:
port
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
idleTimeout
Description copied from interface:ProtocolServerConfigurationChildBuilder
Specifies the maximum time that connections from client will be kept open without activity- Specified by:
idleTimeout
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
tcpNoDelay
Description copied from interface:ProtocolServerConfigurationChildBuilder
Affects TCP NODELAY on the TCP stack. Defaults to enabled- Specified by:
tcpNoDelay
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
tcpKeepAlive
Description copied from interface:ProtocolServerConfigurationChildBuilder
Affects TCP KEEPALIVE on the TCP stack. Defaults to disabled- Specified by:
tcpKeepAlive
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
recvBufSize
Description copied from interface:ProtocolServerConfigurationChildBuilder
Sets the size of the receive buffer- Specified by:
recvBufSize
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
sendBufSize
Description copied from interface:ProtocolServerConfigurationChildBuilder
Sets the size of the send buffer- Specified by:
sendBufSize
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
authentication
- Specified by:
authentication
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
ssl
Description copied from interface:ProtocolServerConfigurationChildBuilder
Configures SSL- Specified by:
ssl
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
ioThreads
Description copied from interface:ProtocolServerConfigurationChildBuilder
Sets the number of I/O threads- Specified by:
ioThreads
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
startTransport
Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates whether transport implementation should or should not be started.- Specified by:
startTransport
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
adminOperationsHandler
Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates theAdminOperationsHandler
which will be used to handle admin operations- Specified by:
adminOperationsHandler
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
socketBinding
Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates the name of socket binding which will be used- Specified by:
socketBinding
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
ipFilter
Description copied from interface:ProtocolServerConfigurationChildBuilder
Configures the IP filter rules- Specified by:
ipFilter
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
implicitConnector
Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates whether this connector was added implicitly- Specified by:
implicitConnector
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-
build
Description copied from interface:ProtocolServerConfigurationChildBuilder
Builds a configuration object- Specified by:
build
in interfaceProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration<T,
A>, S extends ProtocolServerConfigurationChildBuilder<T, S, A>, A extends AuthenticationConfiguration>
-