public class Proxy<T extends Proxy<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Proxy.ProxyResources
Child mutators for Proxy
|
static class |
Proxy.SessionDrainingStrategy |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
advertise()
Whether to enable multicast-based advertise mechanism.
|
T |
advertise(Boolean value)
Whether to enable multicast-based advertise mechanism.
|
String |
advertiseSecurityKey()
If specified, reverse proxy advertisements checksums will be verified
using this value as a salt.
|
T |
advertiseSecurityKey(String value)
If specified, reverse proxy advertisements checksums will be verified
using this value as a salt.
|
String |
advertiseSocket()
Name of socket binding to use for the advertise socket.
|
T |
advertiseSocket(String value)
Name of socket binding to use for the advertise socket.
|
Boolean |
autoEnableContexts()
If false, the contexts are registered with the reverse proxy as disabled,
they need to be enabled manually by 'enable-context' operation or via
mod_cluster_manager console (if available).
|
T |
autoEnableContexts(Boolean value)
If false, the contexts are registered with the reverse proxy as disabled,
they need to be enabled manually by 'enable-context' operation or via
mod_cluster_manager console (if available).
|
String |
balancer()
The name of the balancer on the reverse proxy to register with.
|
T |
balancer(String value)
The name of the balancer on the reverse proxy to register with.
|
T |
configurationSsl()
Configuration and runtime operations for mod_cluster subsystem.
|
T |
configurationSsl(ConfigurationSsl value)
Configuration and runtime operations for mod_cluster subsystem.
|
T |
configurationSsl(ConfigurationSslConsumer consumer)
Configuration and runtime operations for mod_cluster subsystem.
|
T |
configurationSsl(ConfigurationSslSupplier supplier)
Configuration and runtime operations for mod_cluster subsystem.
|
T |
dynamicLoadProvider()
Configuration and runtime operations for mod_cluster subsystem.
|
T |
dynamicLoadProvider(DynamicLoadProvider value)
Configuration and runtime operations for mod_cluster subsystem.
|
T |
dynamicLoadProvider(DynamicLoadProviderConsumer consumer)
Configuration and runtime operations for mod_cluster subsystem.
|
T |
dynamicLoadProvider(DynamicLoadProviderSupplier supplier)
Configuration and runtime operations for mod_cluster subsystem.
|
String |
excludedContexts()
List of contexts to exclude from registration with the reverse proxies.
|
T |
excludedContexts(String value)
List of contexts to exclude from registration with the reverse proxies.
|
Boolean |
flushPackets()
Whether to enable packet flushing on the reverse proxy.
|
T |
flushPackets(Boolean value)
Whether to enable packet flushing on the reverse proxy.
|
Integer |
flushWait()
Time to wait before flushing packets on the reverse proxy.
|
T |
flushWait(Integer value)
Time to wait before flushing packets on the reverse proxy.
|
String |
getKey() |
String |
listener()
The name of Undertow listener that will be registered with the reverse
proxy.
|
T |
listener(String value)
The name of Undertow listener that will be registered with the reverse
proxy.
|
String |
loadBalancingGroup()
Name of the load balancing group this node belongs to.
|
T |
loadBalancingGroup(String value)
Name of the load balancing group this node belongs to.
|
Integer |
maxAttempts()
Maximum number of failover attempts by reverse proxy when sending the
request to the backend server.
|
T |
maxAttempts(Integer value)
Maximum number of failover attempts by reverse proxy when sending the
request to the backend server.
|
Integer |
nodeTimeout()
Timeout (in seconds) for proxy connections to a node.
|
T |
nodeTimeout(Integer value)
Timeout (in seconds) for proxy connections to a node.
|
Integer |
ping()
Number of seconds for which to wait for a pong answer to a ping.
|
T |
ping(Integer value)
Number of seconds for which to wait for a pong answer to a ping.
|
List<String> |
proxies()
List of reverse proxies for mod_cluster to register with defined by
'outbound-socket-binding' in 'socket-binding-group'.
|
T |
proxies(List<String> value)
List of reverse proxies for mod_cluster to register with defined by
'outbound-socket-binding' in 'socket-binding-group'.
|
T |
proxies(String... args)
List of reverse proxies for mod_cluster to register with defined by
'outbound-socket-binding' in 'socket-binding-group'.
|
T |
proxy(String value)
List of reverse proxies for mod_cluster to register with defined by
'outbound-socket-binding' in 'socket-binding-group'.
|
String |
proxyUrl()
Base URL for MCMP requests.
|
T |
proxyUrl(String value)
Base URL for MCMP requests.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Proxy.SessionDrainingStrategy |
sessionDrainingStrategy()
Session draining strategy used during undeployment of a web application.
|
T |
sessionDrainingStrategy(Proxy.SessionDrainingStrategy value)
Session draining strategy used during undeployment of a web application.
|
T |
simpleLoadProvider()
Simple load provider returns constant pre-configured load balancing
factor.
|
T |
simpleLoadProvider(SimpleLoadProvider value)
Simple load provider returns constant pre-configured load balancing
factor.
|
T |
simpleLoadProvider(SimpleLoadProviderConsumer consumer)
Simple load provider returns constant pre-configured load balancing
factor.
|
T |
simpleLoadProvider(SimpleLoadProviderSupplier supplier)
Simple load provider returns constant pre-configured load balancing
factor.
|
Integer |
smax()
Soft maximum idle connection count for reverse proxy.
|
T |
smax(Integer value)
Soft maximum idle connection count for reverse proxy.
|
Integer |
socketTimeout()
Timeout to wait for the reverse proxy to answer a MCMP message.
|
T |
socketTimeout(Integer value)
Timeout to wait for the reverse proxy to answer a MCMP message.
|
String |
sslContext()
Reference to the SSLContext to be used by mod_cluster.
|
T |
sslContext(String value)
Reference to the SSLContext to be used by mod_cluster.
|
Integer |
statusInterval()
Number of seconds a STATUS message is sent from the application server to
the proxy.
|
T |
statusInterval(Integer value)
Number of seconds a STATUS message is sent from the application server to
the proxy.
|
Boolean |
stickySession()
Indicates whether subsequent requests for a given session should be
routed to the same node, if possible.
|
T |
stickySession(Boolean value)
Indicates whether subsequent requests for a given session should be
routed to the same node, if possible.
|
Boolean |
stickySessionForce()
Indicates whether the reverse proxy should run an error in the event that
the balancer is unable to route a request to the node to which it is
stuck.
|
T |
stickySessionForce(Boolean value)
Indicates whether the reverse proxy should run an error in the event that
the balancer is unable to route a request to the node to which it is
stuck.
|
Boolean |
stickySessionRemove()
Indicates whether the reverse proxy should remove session stickiness in
the event that the balancer is unable to route a request to the node to
which it is stuck.
|
T |
stickySessionRemove(Boolean value)
Indicates whether the reverse proxy should remove session stickiness in
the event that the balancer is unable to route a request to the node to
which it is stuck.
|
Integer |
stopContextTimeout()
Maximum time to wait for context to process pending requests.
|
T |
stopContextTimeout(Integer value)
Maximum time to wait for context to process pending requests.
|
Proxy.ProxyResources |
subresources() |
Integer |
ttl()
Time to live (in seconds) for idle connections above smax.
|
T |
ttl(Integer value)
Time to live (in seconds) for idle connections above smax.
|
Integer |
workerTimeout()
Number of seconds to wait for a worker to become available to handle a
request.
|
T |
workerTimeout(Integer value)
Number of seconds to wait for a worker to become available to handle a
request.
|
public Proxy(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Proxy.ProxyResources subresources()
public T configurationSsl(ConfigurationSsl value)
public T configurationSsl(ConfigurationSslConsumer consumer)
public T configurationSsl()
public T configurationSsl(ConfigurationSslSupplier supplier)
public T dynamicLoadProvider(DynamicLoadProvider value)
public T dynamicLoadProvider(DynamicLoadProviderConsumer consumer)
public T dynamicLoadProvider()
public T dynamicLoadProvider(DynamicLoadProviderSupplier supplier)
public T simpleLoadProvider(SimpleLoadProvider value)
public T simpleLoadProvider(SimpleLoadProviderConsumer consumer)
public T simpleLoadProvider()
public T simpleLoadProvider(SimpleLoadProviderSupplier supplier)
public Boolean advertise()
public String advertiseSecurityKey()
public T advertiseSecurityKey(String value)
public String advertiseSocket()
public T advertiseSocket(String value)
public Boolean autoEnableContexts()
public T autoEnableContexts(Boolean value)
public String balancer()
public T balancer(String value)
public String excludedContexts()
public T excludedContexts(String value)
public Boolean flushPackets()
public T flushPackets(Boolean value)
public Integer flushWait()
public T flushWait(Integer value)
public String listener()
public T listener(String value)
public String loadBalancingGroup()
public T loadBalancingGroup(String value)
public Integer maxAttempts()
public T maxAttempts(Integer value)
public Integer nodeTimeout()
public T nodeTimeout(Integer value)
public Integer ping()
public List<String> proxies()
public T proxies(List<String> value)
public T proxy(String value)
public T proxies(String... args)
public String proxyUrl()
public Proxy.SessionDrainingStrategy sessionDrainingStrategy()
public T sessionDrainingStrategy(Proxy.SessionDrainingStrategy value)
public Integer smax()
public Integer socketTimeout()
public T socketTimeout(Integer value)
public String sslContext()
public Integer statusInterval()
public T statusInterval(Integer value)
public Boolean stickySession()
public T stickySession(Boolean value)
public Boolean stickySessionForce()
public T stickySessionForce(Boolean value)
public Boolean stickySessionRemove()
public T stickySessionRemove(Boolean value)
public Integer stopContextTimeout()
public T stopContextTimeout(Integer value)
public Integer ttl()
public Integer workerTimeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.