Class Balancer.BalancerBuilder

  • Enclosing class:
    Balancer

    public static final class Balancer.BalancerBuilder
    extends java.lang.Object
    • Constructor Detail

      • BalancerBuilder

        public BalancerBuilder()
    • Method Detail

      • getName

        public java.lang.String getName()
      • isStickySession

        public boolean isStickySession()
      • getStickySessionCookie

        public java.lang.String getStickySessionCookie()
      • setStickySessionCookie

        public Balancer.BalancerBuilder setStickySessionCookie​(java.lang.String stickySessionCookie)
      • getStickySessionPath

        public java.lang.String getStickySessionPath()
      • isStickySessionRemove

        public boolean isStickySessionRemove()
      • isStickySessionForce

        public boolean isStickySessionForce()
      • getWaitWorker

        public int getWaitWorker()
      • 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
        public int getMaxattempts()
        Deprecated.