T
- the root configuration object returned by the builder. Must extend ProtocolServerConfiguration
S
- the sub-builder this is an implementation of. Must extend ProtocolServerConfigurationChildBuilderpublic interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>> extends Self<S>
Modifier and Type | Method and Description |
---|---|
S |
adminOperationsHandler(AdminOperationsHandler handler)
Indicates the
AdminOperationsHandler which will be used to handle admin operations |
T |
build()
Builds a configuration object
|
S |
defaultCacheName(String defaultCacheName)
Specifies the cache to use as a default cache for the protocol
|
S |
host(String host)
Specifies the host or IP address on which this server will listen
|
S |
idleTimeout(int idleTimeout)
Specifies the maximum time that connections from client will be kept open without activity
|
S |
ignoredCaches(Set<String> ignoredCaches)
Sets the caches to be ignored
|
S |
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 listen
|
S |
recvBufSize(int recvBufSize)
Sets the size of the receive buffer
|
S |
sendBufSize(int sendBufSize)
Sets the size of the send buffer
|
SslConfigurationBuilder<T,S> |
ssl()
Configures SSL
|
S |
startTransport(boolean startTransport)
Indicates whether transport implementation should or should not be started.
|
S |
tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack.
|
S |
workerThreads(int workerThreads)
Sets the number of worker threads
|
S defaultCacheName(String defaultCacheName)
S name(String name)
S port(int port)
S idleTimeout(int idleTimeout)
S tcpNoDelay(boolean tcpNoDelay)
S recvBufSize(int recvBufSize)
S sendBufSize(int sendBufSize)
SslConfigurationBuilder<T,S> ssl()
S workerThreads(int workerThreads)
S startTransport(boolean startTransport)
S adminOperationsHandler(AdminOperationsHandler handler)
AdminOperationsHandler
which will be used to handle admin operationsT build()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.