| Modifier and Type | Class and Description |
|---|---|
static class |
ModCluster.ModClusterResources
Child mutators for ModCluster
|
| Constructor and Description |
|---|
ModCluster(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
advertiseFrequency()
The frequency (in milliseconds) that mod-cluster advertises itself on the
network
|
T |
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 /
|
T |
advertisePath(String value)
The path that mod-cluster is registered under, defaults to /
|
String |
advertiseProtocol()
The protocol that is in use, defaults to HTTP
|
T |
advertiseProtocol(String value)
The protocol that is in use, defaults to HTTP
|
String |
advertiseSocketBinding()
The multicast group that is used to advertise
|
T |
advertiseSocketBinding(String value)
The multicast group that is used to advertise
|
T |
balancer(Balancer value)
Add the Balancer object to the list of subresources
|
T |
balancer(BalancerSupplier supplier)
Install a supplied Balancer object to the list of subresources
|
T |
balancer(String childKey)
Create and configure a Balancer object to the list of subresources
|
T |
balancer(String childKey,
BalancerConsumer consumer)
Create and configure a Balancer object to the list of subresources
|
T |
balancers(List<Balancer> value)
Add all Balancer objects to this subresource
|
Integer |
brokenNodeTimeout()
The amount of time that must elapse before a broken node is removed from
the table
|
T |
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
|
T |
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.
|
T |
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.
|
T |
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
|
T |
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.
|
T |
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.
|
T |
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
|
T |
maxRequestTime(Integer value)
The max amount of time that a request to a backend node can take before
it is killed
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Integer |
requestQueueSize()
The number of requests that can be queued if the connection pool is full
before requests are rejected with a 503
|
T |
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.
|
T |
securityKey(String value)
The security key that is used for the mod-cluster group.
|
String |
securityRealm()
The security realm that provides the SSL configuration
|
T |
securityRealm(String value)
The security realm that provides the SSL configuration
|
ModCluster.ModClusterResources |
subresources() |
Boolean |
useAlias()
If an alias check is performed
|
T |
useAlias(Boolean value)
If an alias check is performed
|
String |
worker()
The XNIO worker that is used to send the advertise notifications
|
T |
worker(String value)
The XNIO worker that is used to send the advertise notifications
|
public ModCluster(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="advertise-frequency") public Integer advertiseFrequency()
public T advertiseFrequency(Integer value)
@ModelNodeBinding(detypedName="advertise-path") public String advertisePath()
public T advertisePath(String value)
@ModelNodeBinding(detypedName="advertise-protocol") public String advertiseProtocol()
public T advertiseProtocol(String value)
@ModelNodeBinding(detypedName="advertise-socket-binding") public String advertiseSocketBinding()
public T advertiseSocketBinding(String value)
@ModelNodeBinding(detypedName="broken-node-timeout") public Integer brokenNodeTimeout()
public T brokenNodeTimeout(Integer value)
@ModelNodeBinding(detypedName="cached-connections-per-thread") public Integer cachedConnectionsPerThread()
public T cachedConnectionsPerThread(Integer value)
@ModelNodeBinding(detypedName="connection-idle-timeout") public Integer connectionIdleTimeout()
public T connectionIdleTimeout(Integer value)
@ModelNodeBinding(detypedName="connections-per-thread") public Integer connectionsPerThread()
public T connectionsPerThread(Integer value)
@ModelNodeBinding(detypedName="health-check-interval") public Integer healthCheckInterval()
public T healthCheckInterval(Integer value)
@ModelNodeBinding(detypedName="management-access-predicate") public String managementAccessPredicate()
public T managementAccessPredicate(String value)
@ModelNodeBinding(detypedName="management-socket-binding") public String managementSocketBinding()
public T managementSocketBinding(String value)
@ModelNodeBinding(detypedName="max-request-time") public Integer maxRequestTime()
public T maxRequestTime(Integer value)
@ModelNodeBinding(detypedName="request-queue-size") public Integer requestQueueSize()
public T requestQueueSize(Integer value)
@ModelNodeBinding(detypedName="security-key") public String securityKey()
public T securityKey(String value)
@ModelNodeBinding(detypedName="security-realm") public String securityRealm()
public T securityRealm(String value)
@ModelNodeBinding(detypedName="use-alias") public Boolean useAlias()
@ModelNodeBinding(detypedName="worker") public String worker()
public T worker(String value)
public ModCluster.ModClusterResources subresources()
public T balancers(List<Balancer> value)
value - List of Balancer objects.public T balancer(Balancer value)
value - The Balancer to addpublic T balancer(String childKey, BalancerConsumer consumer)
key - The key for the Balancer resourceconfig - The BalancerConsumer to usepublic T balancer(String childKey)
key - The key for the Balancer resourcepublic T balancer(BalancerSupplier supplier)
Copyright © 2015 JBoss by Red Hat. All rights reserved.