Package org.jboss.modcluster.config
Interface MCMPHandlerConfiguration
-
- All Known Implementing Classes:
MCMPHandlerConfigurationImpl
,ModClusterConfig
,ModClusterListener
,ModClusterListener
public interface MCMPHandlerConfiguration
Configuration object for anMCMPHandler
.- Author:
- Brian Stansberry, Radoslav Husar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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 routeCollection<InetSocketAddress>
getProxies()
Deprecated.As of 1.3.1.Final usegetProxyConfigurations()
to also specify local bind address.Collection<ProxyConfiguration>
getProxyConfigurations()
Gets list of proxies as a collection ofProxyConfiguration
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 ofgetStopContextTimeoutUnit()
to wait for pending requests to complete when stopping a context.TimeUnit
getStopContextTimeoutUnit()
Returns the unit of time to whichgetStopContextTimeout()
pertains.boolean
isAutoEnableContexts()
Indicates whether or not to automatically enable contexts.boolean
isSsl()
Deprecated.UsegetSocketFactory()
instead.
-
-
-
Method Detail
-
getProxyConfigurations
Collection<ProxyConfiguration> getProxyConfigurations()
Gets list of proxies as a collection ofProxyConfiguration
s.- Returns:
- list of proxies as a collection of
ProxyConfiguration
s
-
getProxies
@Deprecated Collection<InetSocketAddress> getProxies()
Deprecated.As of 1.3.1.Final usegetProxyConfigurations()
to also specify local bind address.Gets list of proxies as a collection ofInetSocketAddress
es.- Returns:
- list of proxies as a collection of
InetSocketAddress
es
-
getProxyURL
String getProxyURL()
URL prefix.
-
getSocketTimeout
int getSocketTimeout()
Connection timeout for communication with the proxy.
-
isSsl
@Deprecated boolean isSsl()
Deprecated.UsegetSocketFactory()
instead.SSL client cert usage to connect to the proxy.
-
getSocketFactory
SocketFactory getSocketFactory()
Configuration of the socket factory, supply SSL socket factory to use SSL to connect to the proxy.
-
getExcludedContextsPerHost
Map<String,Set<String>> getExcludedContextsPerHost()
Returns a list of contexts that should never be enabled in mod_cluster. Contexts may be- Returns:
- a comma delimited list of contexts of the form "[host:]context"
-
getAdvertise
Boolean getAdvertise()
Receive advertisements from httpd proxies (default is to use advertisements if the proxyList is not set).
-
isAutoEnableContexts
boolean isAutoEnableContexts()
Indicates whether or not to automatically enable contexts. If false, context will need to be enabled manually.- Returns:
- true, if contexts should auto-enable, false otherwise.
-
getStopContextTimeout
long getStopContextTimeout()
Returns the number ofgetStopContextTimeoutUnit()
to wait for pending requests to complete when stopping a context.- Returns:
- timeout in seconds.
-
getStopContextTimeoutUnit
TimeUnit getStopContextTimeoutUnit()
Returns the unit of time to whichgetStopContextTimeout()
pertains.- Returns:
- a unit of time
-
getJvmRouteFactory
JvmRouteFactory getJvmRouteFactory()
Factory for generating jvm route
-
getSessionDrainingStrategy
SessionDrainingStrategy getSessionDrainingStrategy()
-
-