Interface MCMPHandlerConfiguration

All Known Implementing Classes:
MCMPHandlerConfigurationImpl, ModClusterConfig, ModClusterListener, ModClusterListener

public interface MCMPHandlerConfiguration
Configuration object for an MCMPHandler.
Author:
Brian Stansberry, Radoslav Husar
  • Method Details

    • getProxyConfigurations

      Collection<ProxyConfiguration> getProxyConfigurations()
      Gets list of proxies as a collection of ProxyConfigurations.
      Returns:
      list of proxies as a collection of ProxyConfigurations
    • getProxies

      Deprecated.
      As of 1.3.1.Final use getProxyConfigurations() to also specify local bind address.
      Gets list of proxies as a collection of InetSocketAddresses.
      Returns:
      list of proxies as a collection of InetSocketAddresses
    • getProxyURL

      String getProxyURL()
      URL prefix.
    • getSocketTimeout

      int getSocketTimeout()
      Connection timeout for communication with the proxy.
    • isSsl

      @Deprecated boolean isSsl()
      Deprecated.
      Use getSocketFactory() 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 of getStopContextTimeoutUnit() to wait for pending requests to complete when stopping a context.
      Returns:
      timeout in seconds.
    • getStopContextTimeoutUnit

      TimeUnit getStopContextTimeoutUnit()
      Returns the unit of time to which getStopContextTimeout() pertains.
      Returns:
      a unit of time
    • getJvmRouteFactory

      JvmRouteFactory getJvmRouteFactory()
      Factory for generating jvm route
    • getSessionDrainingStrategy

      SessionDrainingStrategy getSessionDrainingStrategy()