java.lang.Object
io.undertow.server.handlers.proxy.mod_cluster.ModCluster

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

    • getServerID

      protected String getServerID()
    • getContainer

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

      public ModClusterController getController()
    • getMaxConnections

      public int getMaxConnections()
    • getCacheConnections

      public int getCacheConnections()
    • getRequestQueueSize

      public int getRequestQueueSize()
    • isQueueNewRequests

      public boolean isQueueNewRequests()
    • getHealthCheckInterval

      public long getHealthCheckInterval()
    • getRemoveBrokenNodes

      public long getRemoveBrokenNodes()
    • getHealthChecker

      public NodeHealthChecker getHealthChecker()
    • getTtl

      public long getTtl()
    • isUseAlias

      public boolean isUseAlias()
    • isDeterministicFailover

      public boolean isDeterministicFailover()
    • routeParsingStrategy

      public RouteParsingStrategy routeParsingStrategy()
    • 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
    • builder

      public static ModCluster.Builder builder(org.xnio.XnioWorker worker)
    • builder

      public static ModCluster.Builder builder(org.xnio.XnioWorker worker, UndertowClient client)
    • builder

      public static ModCluster.Builder builder(org.xnio.XnioWorker worker, UndertowClient client, org.xnio.ssl.XnioSsl xnioSsl)