Interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>>

Type Parameters:
T - the root configuration object returned by the builder. Must extend ProtocolServerConfiguration
S - the sub-builder this is an implementation of. Must extend ProtocolServerConfigurationChildBuilder
All Superinterfaces:
Self<S>
All Known Implementing Classes:
AbstractProtocolServerConfigurationChildBuilder, AuthenticationConfigurationBuilder, HotRodServerConfigurationBuilder, IpFilterConfigurationBuilder, 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

    Modifier and Type
    Method
    Description
    Indicates the AdminOperationsHandler which will be used to handle admin operations
    Builds a configuration object
    defaultCacheName(String defaultCacheName)
    Specifies the cache to use as a default cache for the protocol
    host(String host)
    Specifies the host or IP address on which this server will listen
    idleTimeout(int idleTimeout)
    Specifies the maximum time that connections from client will be kept open without activity
    implicitConnector(boolean implicitConnector)
    Indicates whether this connector was added implicitly
    ioThreads(int ioThreads)
    Sets the number of I/O threads
    Configures the IP filter rules
    name(String 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.
    port(int port)
    Specifies the port on which this server will listen
    recvBufSize(int recvBufSize)
    Sets the size of the receive buffer
    sendBufSize(int sendBufSize)
    Sets the size of the send buffer
    Indicates the name of socket binding which will be used
    ssl()
    Configures SSL
    startTransport(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.

    Methods inherited from interface org.infinispan.commons.configuration.Self

    self
  • Method Details

    • 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 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

      S host(String host)
      Specifies the host or IP address on which this server will listen
    • 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

      Configures SSL
    • ipFilter

      Configures the IP filter rules
    • ioThreads

      S ioThreads(int ioThreads)
      Sets the number of I/O threads
    • startTransport

      S startTransport(boolean startTransport)
      Indicates whether transport implementation should or should not be started.
    • adminOperationsHandler

      S adminOperationsHandler(AdminOperationsHandler handler)
      Indicates the AdminOperationsHandler which will be used to handle admin operations
    • socketBinding

      S socketBinding(String name)
      Indicates the name of socket binding which will be used
    • implicitConnector

      S implicitConnector(boolean implicitConnector)
      Indicates whether this connector was added implicitly
    • build

      T build()
      Builds a configuration object