Class ProtocolServerConfiguration
- java.lang.Object
-
- org.infinispan.server.core.configuration.ProtocolServerConfiguration
-
- Direct Known Subclasses:
HotRodServerConfiguration
,MemcachedServerConfiguration
,RestServerConfiguration
public abstract class ProtocolServerConfiguration extends Object
ServerConfiguration.- Since:
- 5.3
- Author:
- Tristan Tarrant
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.attributes.AttributeDefinition<AdminOperationsHandler>
ADMIN_OPERATION_HANDLER
protected org.infinispan.commons.configuration.attributes.AttributeSet
attributes
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
DEFAULT_CACHE_NAME
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
HOST
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
IDLE_TIMEOUT
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Set<String>>
IGNORED_CACHES
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
IO_THREADS
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
NAME
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
PORT
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
RECV_BUF_SIZE
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
SEND_BUF_SIZE
protected SslConfiguration
ssl
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
START_TRANSPORT
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
TCP_KEEPALIVE
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
TCP_NODELAY
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
WORKER_THREADS
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
ZERO_CAPACITY_NODE
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProtocolServerConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, SslConfiguration ssl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminOperationsHandler
adminOperationsHandler()
static org.infinispan.commons.configuration.attributes.AttributeSet
attributeDefinitionSet()
org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
String
defaultCacheName()
String
host()
int
idleTimeout()
Set<String>
ignoredCaches()
int
ioThreads()
String
name()
int
port()
int
recvBufSize()
int
sendBufSize()
SslConfiguration
ssl()
boolean
startTransport()
boolean
tcpKeepAlive()
boolean
tcpNoDelay()
String
toString()
int
workerThreads()
boolean
zeroCapacityNode()
-
-
-
Field Detail
-
DEFAULT_CACHE_NAME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> DEFAULT_CACHE_NAME
-
NAME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> NAME
-
HOST
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> HOST
-
PORT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> PORT
-
IDLE_TIMEOUT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> IDLE_TIMEOUT
-
IGNORED_CACHES
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Set<String>> IGNORED_CACHES
-
RECV_BUF_SIZE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> RECV_BUF_SIZE
-
SEND_BUF_SIZE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> SEND_BUF_SIZE
-
START_TRANSPORT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> START_TRANSPORT
-
TCP_NODELAY
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> TCP_NODELAY
-
TCP_KEEPALIVE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> TCP_KEEPALIVE
-
IO_THREADS
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> IO_THREADS
-
WORKER_THREADS
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> WORKER_THREADS
-
ADMIN_OPERATION_HANDLER
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<AdminOperationsHandler> ADMIN_OPERATION_HANDLER
-
ZERO_CAPACITY_NODE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ZERO_CAPACITY_NODE
-
attributes
protected final org.infinispan.commons.configuration.attributes.AttributeSet attributes
-
ssl
protected final SslConfiguration ssl
-
-
Constructor Detail
-
ProtocolServerConfiguration
protected ProtocolServerConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, SslConfiguration ssl)
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
-
defaultCacheName
public String defaultCacheName()
-
name
public String name()
-
host
public String host()
-
port
public int port()
-
idleTimeout
public int idleTimeout()
-
recvBufSize
public int recvBufSize()
-
sendBufSize
public int sendBufSize()
-
ssl
public SslConfiguration ssl()
-
tcpNoDelay
public boolean tcpNoDelay()
-
tcpKeepAlive
public boolean tcpKeepAlive()
-
ioThreads
public int ioThreads()
-
workerThreads
public int workerThreads()
-
startTransport
public boolean startTransport()
-
adminOperationsHandler
public AdminOperationsHandler adminOperationsHandler()
-
zeroCapacityNode
public boolean zeroCapacityNode()
-
-