Interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>>
-
- 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
,AuthenticationConfigurationBuilder
,HotRodServerConfigurationBuilder
,MemcachedServerConfigurationBuilder
,ProtocolServerConfigurationBuilder
,RestServerConfigurationBuilder
,SslConfigurationBuilder
public interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>> extends Self<S>
ProtocolServerConfigurationChildBuilder.- Since:
- 5.3
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
adminOperationsHandler(org.infinispan.server.core.admin.AdminOperationsHandler handler)
Indicates theAdminOperationsHandler
which will be used to handle admin operationsT
build()
Builds a configuration objectS
defaultCacheName(String defaultCacheName)
Specifies the cache to use as a default cache for the protocolS
host(String host)
Specifies the host or IP address on which this server will listenS
idleTimeout(int idleTimeout)
Specifies the maximum time that connections from client will be kept open without activityS
ioThreads(int ioThreads)
Sets the number of I/O threadsS
name(String name)
Specifies a custom name for this server in order to easily distinguish it from other servers, e.g.S
port(int port)
Specifies the port on which this server will listenS
recvBufSize(int recvBufSize)
Sets the size of the receive bufferS
sendBufSize(int sendBufSize)
Sets the size of the send bufferS
socketBinding(String name)
Indicates the name of socket binding which will be usedSslConfigurationBuilder<T,S>
ssl()
Configures SSLS
startTransport(boolean startTransport)
Indicates whether transport implementation should or should not be started.S
tcpKeepAlive(boolean tcpKeepAlive)
Affects TCP KEEPALIVE on the TCP stack.S
tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack.S
workerThreads(int workerThreads)
Sets the number of worker threads
-
-
-
Method Detail
-
defaultCacheName
S defaultCacheName(String defaultCacheName)
Specifies the cache to use as a default cache for the protocol
-
name
S name(String name)
Specifies a custom name for this server in order to easily distinguish it from other servers, e.g. via JMX. Defaults to the empty string.
-
port
S port(int port)
Specifies the port on which this server will listen
-
idleTimeout
S idleTimeout(int idleTimeout)
Specifies the maximum time that connections from client will be kept open without activity
-
tcpNoDelay
S tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack. Defaults to enabled
-
tcpKeepAlive
S tcpKeepAlive(boolean tcpKeepAlive)
Affects TCP KEEPALIVE on the TCP stack. Defaults to disabled
-
recvBufSize
S recvBufSize(int recvBufSize)
Sets the size of the receive buffer
-
sendBufSize
S sendBufSize(int sendBufSize)
Sets the size of the send buffer
-
ssl
SslConfigurationBuilder<T,S> ssl()
Configures SSL
-
ioThreads
S ioThreads(int ioThreads)
Sets the number of I/O threads
-
workerThreads
S workerThreads(int workerThreads)
Sets the number of worker threads
-
startTransport
S startTransport(boolean startTransport)
Indicates whether transport implementation should or should not be started.
-
adminOperationsHandler
S adminOperationsHandler(org.infinispan.server.core.admin.AdminOperationsHandler handler)
Indicates theAdminOperationsHandler
which will be used to handle admin operations
-
build
T build()
Builds a configuration object
-
-