Class Balancer.BalancerBuilder

java.lang.Object
io.undertow.server.handlers.proxy.mod_cluster.Balancer.BalancerBuilder
Enclosing class:
Balancer

public static final class Balancer.BalancerBuilder extends Object
  • Constructor Details

    • BalancerBuilder

      public BalancerBuilder()
  • Method Details

    • getName

      public String getName()
    • setName

      public Balancer.BalancerBuilder setName(String name)
    • isStickySession

      public boolean isStickySession()
    • setStickySession

      public Balancer.BalancerBuilder setStickySession(boolean stickySession)
    • getStickySessionCookie

      public String getStickySessionCookie()
    • setStickySessionCookie

      public Balancer.BalancerBuilder setStickySessionCookie(String stickySessionCookie)
    • getStickySessionPath

      public String getStickySessionPath()
    • setStickySessionPath

      public Balancer.BalancerBuilder setStickySessionPath(String stickySessionPath)
    • isStickySessionRemove

      public boolean isStickySessionRemove()
    • setStickySessionRemove

      public Balancer.BalancerBuilder setStickySessionRemove(boolean stickySessionRemove)
    • isStickySessionForce

      public boolean isStickySessionForce()
    • setStickySessionForce

      public Balancer.BalancerBuilder setStickySessionForce(boolean stickySessionForce)
    • getWaitWorker

      public int getWaitWorker()
    • setWaitWorker

      public Balancer.BalancerBuilder setWaitWorker(int waitWorker)
    • getMaxRetries

      public int getMaxRetries()
    • setMaxRetries

      public Balancer.BalancerBuilder setMaxRetries(int maxRetries)
      Maximum number of failover attempts to send the request to the backend server.
      Parameters:
      maxRetries - number of failover attempts
    • getMaxattempts

      @Deprecated(since="2.0.4", forRemoval=true) public int getMaxattempts()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMaxattempts

      @Deprecated(since="2.0.4", forRemoval=true) public Balancer.BalancerBuilder setMaxattempts(int maxattempts)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • build

      public Balancer build()