Class ModCluster


  • public class ModCluster
    extends Object
    Author:
    Emanuel Muckenhuber
    • Method Detail

      • getServerID

        protected String getServerID()
      • getContainer

        protected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer getContainer()
      • getMaxConnections

        public int getMaxConnections()
      • getCacheConnections

        public int getCacheConnections()
      • getRequestQueueSize

        public int getRequestQueueSize()
      • isQueueNewRequests

        public boolean isQueueNewRequests()
      • getHealthCheckInterval

        public long getHealthCheckInterval()
      • getRemoveBrokenNodes

        public long getRemoveBrokenNodes()
      • getTtl

        public long getTtl()
      • isUseAlias

        public boolean isUseAlias()
      • isDeterministicFailover

        public boolean isDeterministicFailover()
      • rankedAffinityDelimiter

        public String rankedAffinityDelimiter()
      • getProxyHandler

        @Deprecated
        public HttpHandler getProxyHandler()
        Deprecated.
        Get the handler proxying the requests.
        Returns:
        the proxy handler
      • createProxyHandler

        public HttpHandler createProxyHandler()
        Get the handler proxying the requests.
        Returns:
        the proxy handler
      • createProxyHandler

        public HttpHandler createProxyHandler​(HttpHandler next)
        Get the handler proxying the requests.
        Returns:
        the proxy handler
      • start

        public void start()
        Start
      • advertise

        public void advertise​(MCMPConfig config)
                       throws IOException
        Start advertising a mcmp handler.
        Parameters:
        config - the mcmp handler config
        Throws:
        IOException
      • stop

        public void stop()
        Stop