public class MCMPHandlerConfigurationImpl extends Object implements MCMPHandlerConfiguration
Constructor and Description |
---|
MCMPHandlerConfigurationImpl(Collection<ProxyConfiguration> proxyConfigurations,
String proxyURL,
int socketTimeout,
SocketFactory socketFactory,
Map<String,Set<String>> excludedContextsPerHost,
Boolean advertise,
boolean autoEnableContexts,
long stopContextTimeout,
TimeUnit stopContextTimeoutUnit,
JvmRouteFactory jvmRouteFactory,
SessionDrainingStrategy sessionDrainingStrategy) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAdvertise()
Receive advertisements from httpd proxies (default is to use advertisements if the proxyList is not set).
|
Map<String,Set<String>> |
getExcludedContextsPerHost()
Returns a list of contexts that should never be enabled in mod_cluster.
|
JvmRouteFactory |
getJvmRouteFactory()
Factory for generating jvm route
|
Collection<InetSocketAddress> |
getProxies()
Deprecated.
|
Collection<ProxyConfiguration> |
getProxyConfigurations()
Gets list of proxies as a collection of
ProxyConfiguration s. |
String |
getProxyURL()
URL prefix.
|
SessionDrainingStrategy |
getSessionDrainingStrategy() |
SocketFactory |
getSocketFactory()
Configuration of the socket factory, supply SSL socket factory to use SSL to connect to the proxy.
|
int |
getSocketTimeout()
Connection timeout for communication with the proxy.
|
long |
getStopContextTimeout()
Returns the number of
MCMPHandlerConfiguration.getStopContextTimeoutUnit() to wait for pending requests to complete when stopping a
context. |
TimeUnit |
getStopContextTimeoutUnit()
Returns the unit of time to which
MCMPHandlerConfiguration.getStopContextTimeout() pertains. |
boolean |
isAutoEnableContexts()
Indicates whether or not to automatically enable contexts.
|
boolean |
isSsl()
Deprecated.
|
public MCMPHandlerConfigurationImpl(Collection<ProxyConfiguration> proxyConfigurations, String proxyURL, int socketTimeout, SocketFactory socketFactory, Map<String,Set<String>> excludedContextsPerHost, Boolean advertise, boolean autoEnableContexts, long stopContextTimeout, TimeUnit stopContextTimeoutUnit, JvmRouteFactory jvmRouteFactory, SessionDrainingStrategy sessionDrainingStrategy)
public Collection<ProxyConfiguration> getProxyConfigurations()
MCMPHandlerConfiguration
ProxyConfiguration
s.getProxyConfigurations
in interface MCMPHandlerConfiguration
ProxyConfiguration
s@Deprecated public Collection<InetSocketAddress> getProxies()
MCMPHandlerConfiguration
InetSocketAddress
es.getProxies
in interface MCMPHandlerConfiguration
InetSocketAddress
espublic String getProxyURL()
MCMPHandlerConfiguration
getProxyURL
in interface MCMPHandlerConfiguration
public int getSocketTimeout()
MCMPHandlerConfiguration
getSocketTimeout
in interface MCMPHandlerConfiguration
@Deprecated public boolean isSsl()
MCMPHandlerConfiguration
isSsl
in interface MCMPHandlerConfiguration
public SocketFactory getSocketFactory()
MCMPHandlerConfiguration
getSocketFactory
in interface MCMPHandlerConfiguration
public Map<String,Set<String>> getExcludedContextsPerHost()
MCMPHandlerConfiguration
getExcludedContextsPerHost
in interface MCMPHandlerConfiguration
public Boolean getAdvertise()
MCMPHandlerConfiguration
getAdvertise
in interface MCMPHandlerConfiguration
public boolean isAutoEnableContexts()
MCMPHandlerConfiguration
isAutoEnableContexts
in interface MCMPHandlerConfiguration
public long getStopContextTimeout()
MCMPHandlerConfiguration
MCMPHandlerConfiguration.getStopContextTimeoutUnit()
to wait for pending requests to complete when stopping a
context.getStopContextTimeout
in interface MCMPHandlerConfiguration
public TimeUnit getStopContextTimeoutUnit()
MCMPHandlerConfiguration
MCMPHandlerConfiguration.getStopContextTimeout()
pertains.getStopContextTimeoutUnit
in interface MCMPHandlerConfiguration
public JvmRouteFactory getJvmRouteFactory()
MCMPHandlerConfiguration
getJvmRouteFactory
in interface MCMPHandlerConfiguration
public SessionDrainingStrategy getSessionDrainingStrategy()
getSessionDrainingStrategy
in interface MCMPHandlerConfiguration
Copyright © 2023 JBoss by Red Hat. All rights reserved.