org.infinispan.server.core.configuration
Interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>>

All Superinterfaces:
Self<S>
All Known Implementing Classes:
HotRodServerConfigurationBuilder, MemcachedServerConfigurationBuilder, ProtocolServerConfigurationBuilder, WebSocketServerConfigurationBuilder

public interface ProtocolServerConfigurationChildBuilder<T extends ProtocolServerConfiguration,S extends ProtocolServerConfigurationChildBuilder<T,S>>
extends Self<S>

ProtocolServerConfigurationChildBuilder.

Since:
5.3
Author:
Tristan Tarrant

Method Summary
 T build()
          Builds a configuration object
 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 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 ssl()
          Configures SSL
 S tcpNoDelay(boolean tcpNoDelay)
          Affects TCP NODELAY on the TCP stack.
 S workerThreads(int workerThreads)
          Sets the number of worker threads
 
Methods inherited from interface org.infinispan.configuration.Self
self
 

Method Detail

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.


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


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 ssl()
Configures SSL


workerThreads

S workerThreads(int workerThreads)
Sets the number of worker threads


build

T build()
Builds a configuration object


-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.