Class Balancer.BalancerBuilder
- java.lang.Object
-
- io.undertow.server.handlers.proxy.mod_cluster.Balancer.BalancerBuilder
-
-
Constructor Summary
Constructors Constructor Description BalancerBuilder()
-
Method Summary
-
-
-
Method Detail
-
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 public int getMaxattempts()
Deprecated.UsegetMaxRetries()
.
-
setMaxattempts
@Deprecated public Balancer.BalancerBuilder setMaxattempts(int maxattempts)
Deprecated.UsesetMaxRetries(int)
.
-
build
public Balancer build()
-
-