public class ModCluster extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ModCluster.ModClusterResources
Child mutators for ModCluster
|
| Constructor and Description |
|---|
ModCluster(String key) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
advertiseFrequency()
The frequency (in milliseconds) that mod-cluster advertises itself on the network
|
ModCluster |
advertiseFrequency(Integer value)
The frequency (in milliseconds) that mod-cluster advertises itself on the network
|
String |
advertisePath()
The path that mod-cluster is registered under, defaults to /
|
ModCluster |
advertisePath(String value)
The path that mod-cluster is registered under, defaults to /
|
String |
advertiseProtocol()
The protocol that is in use, defaults to HTTP
|
ModCluster |
advertiseProtocol(String value)
The protocol that is in use, defaults to HTTP
|
String |
advertiseSocketBinding()
The multicast group that is used to advertise
|
ModCluster |
advertiseSocketBinding(String value)
The multicast group that is used to advertise
|
ModCluster |
balancer(Balancer value)
Add the org.wildfly.swarm.config.undertow.configuration.mod_cluster.Balancer object to the list of subresources
|
ModCluster |
balancers(List<Balancer> value)
Add all org.wildfly.swarm.config.undertow.configuration.mod_cluster.Balancer objects to this subresource
|
Integer |
brokenNodeTimeout()
The amount of time that must elapse before a broken node is removed from the table
|
ModCluster |
brokenNodeTimeout(Integer value)
The amount of time that must elapse before a broken node is removed from the table
|
Integer |
cachedConnectionsPerThread()
The number of connections that will be kept alive indefinitely
|
ModCluster |
cachedConnectionsPerThread(Integer value)
The number of connections that will be kept alive indefinitely
|
Integer |
connectionIdleTimeout()
The amount of time a connection can be idle before it will be closed.
|
ModCluster |
connectionIdleTimeout(Integer value)
The amount of time a connection can be idle before it will be closed.
|
Integer |
connectionsPerThread()
The number of connections that will be maintained to backend servers, per IO thread.
|
ModCluster |
connectionsPerThread(Integer value)
The number of connections that will be maintained to backend servers, per IO thread.
|
String |
getKey() |
Integer |
healthCheckInterval()
The frequency of health check pings to backend nodes
|
ModCluster |
healthCheckInterval(Integer value)
The frequency of health check pings to backend nodes
|
String |
managementAccessPredicate()
A predicate that is applied to incoming requests to determine if they can perform mod cluster management commands.
|
ModCluster |
managementAccessPredicate(String value)
A predicate that is applied to incoming requests to determine if they can perform mod cluster management commands.
|
String |
managementSocketBinding()
The socket binding of the mod_cluster management port.
|
ModCluster |
managementSocketBinding(String value)
The socket binding of the mod_cluster management port.
|
Integer |
maxRequestTime()
The max amount of time that a request to a backend node can take before it is killed
|
ModCluster |
maxRequestTime(Integer value)
The max amount of time that a request to a backend node can take before it is killed
|
Integer |
requestQueueSize()
The number of requests that can be queued if the connection pool is full before requests are rejected with a 503
|
ModCluster |
requestQueueSize(Integer value)
The number of requests that can be queued if the connection pool is full before requests are rejected with a 503
|
String |
securityKey()
The security key that is used for the mod-cluster group.
|
ModCluster |
securityKey(String value)
The security key that is used for the mod-cluster group.
|
String |
securityRealm()
The security realm that provides the SSL configuration
|
ModCluster |
securityRealm(String value)
The security realm that provides the SSL configuration
|
ModCluster.ModClusterResources |
subresources() |
Boolean |
useAlias()
If an alias check is performed
|
ModCluster |
useAlias(Boolean value)
If an alias check is performed
|
String |
worker()
The XNIO worker that is used to send the advertise notifications
|
ModCluster |
worker(String value)
The XNIO worker that is used to send the advertise notifications
|
public ModCluster(String key)
public String getKey()
public Integer advertiseFrequency()
public ModCluster advertiseFrequency(Integer value)
public String advertisePath()
public ModCluster advertisePath(String value)
public String advertiseProtocol()
public ModCluster advertiseProtocol(String value)
public String advertiseSocketBinding()
public ModCluster advertiseSocketBinding(String value)
public Integer brokenNodeTimeout()
public ModCluster brokenNodeTimeout(Integer value)
public Integer cachedConnectionsPerThread()
public ModCluster cachedConnectionsPerThread(Integer value)
public Integer connectionIdleTimeout()
public ModCluster connectionIdleTimeout(Integer value)
public Integer connectionsPerThread()
public ModCluster connectionsPerThread(Integer value)
public Integer healthCheckInterval()
public ModCluster healthCheckInterval(Integer value)
public String managementAccessPredicate()
public ModCluster managementAccessPredicate(String value)
public String managementSocketBinding()
public ModCluster managementSocketBinding(String value)
public Integer maxRequestTime()
public ModCluster maxRequestTime(Integer value)
public Integer requestQueueSize()
public ModCluster requestQueueSize(Integer value)
public String securityKey()
public ModCluster securityKey(String value)
public String securityRealm()
public ModCluster securityRealm(String value)
public Boolean useAlias()
public ModCluster useAlias(Boolean value)
public String worker()
public ModCluster worker(String value)
public ModCluster.ModClusterResources subresources()
public ModCluster balancers(List<Balancer> value)
value - List of org.wildfly.swarm.config.undertow.configuration.mod_cluster.Balancer objects.public ModCluster balancer(Balancer value)
value - The org.wildfly.swarm.config.undertow.configuration.mod_cluster.Balancer to addCopyright © 2015 JBoss by Red Hat. All rights reserved.