Class Balancer.BalancerBuilder
java.lang.Object
io.undertow.server.handlers.proxy.mod_cluster.Balancer.BalancerBuilder
- Enclosing class:
- Balancer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
int
Deprecated.int
getName()
int
boolean
boolean
boolean
setMaxattempts
(int maxattempts) Deprecated.UsesetMaxRetries(int)
.setMaxRetries
(int maxRetries) Maximum number of failover attempts to send the request to the backend server.setStickySession
(boolean stickySession) setStickySessionCookie
(String stickySessionCookie) setStickySessionForce
(boolean stickySessionForce) setStickySessionPath
(String stickySessionPath) setStickySessionRemove
(boolean stickySessionRemove) setWaitWorker
(int waitWorker)
-
Constructor Details
-
BalancerBuilder
public BalancerBuilder()
-
-
Method Details
-
getName
-
setName
-
isStickySession
public boolean isStickySession() -
setStickySession
-
getStickySessionCookie
-
setStickySessionCookie
-
getStickySessionPath
-
setStickySessionPath
-
isStickySessionRemove
public boolean isStickySessionRemove() -
setStickySessionRemove
-
isStickySessionForce
public boolean isStickySessionForce() -
setStickySessionForce
-
getWaitWorker
public int getWaitWorker() -
setWaitWorker
-
getMaxRetries
public int getMaxRetries() -
setMaxRetries
Maximum number of failover attempts to send the request to the backend server.- Parameters:
maxRetries
- number of failover attempts
-
getMaxattempts
Deprecated.UsegetMaxRetries()
. -
setMaxattempts
Deprecated.UsesetMaxRetries(int)
. -
build
-
getMaxRetries()
.