Class Balancer
- java.lang.Object
-
- io.undertow.server.handlers.proxy.mod_cluster.Balancer
-
public class Balancer extends Object
The mod_cluster balancer config.- Author:
- Stuart Douglas, Emanuel Muckenhuber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalancer.BalancerBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()intgetMaxattempts()Getter for maxattemptsStringgetName()Getter for nameStringgetStickySessionCookie()Getter for stickySessionCookieStringgetStickySessionPath()Getter for stickySessionPathintgetWaitWorker()Getter for waitWorkerbooleanisStickySession()Getter for stickySessionbooleanisStickySessionForce()Getter for stickySessionForcebooleanisStickySessionRemove()Getter for stickySessionRemoveStringtoString()
-
-
-
Method Detail
-
getId
public int getId()
-
getName
public String getName()
Getter for name- Returns:
- the name
-
isStickySession
public boolean isStickySession()
Getter for stickySession- Returns:
- the stickySession
-
getStickySessionCookie
public String getStickySessionCookie()
Getter for stickySessionCookie- Returns:
- the stickySessionCookie
-
getStickySessionPath
public String getStickySessionPath()
Getter for stickySessionPath- Returns:
- the stickySessionPath
-
isStickySessionRemove
public boolean isStickySessionRemove()
Getter for stickySessionRemove- Returns:
- the stickySessionRemove
-
isStickySessionForce
public boolean isStickySessionForce()
Getter for stickySessionForce- Returns:
- the stickySessionForce
-
getWaitWorker
public int getWaitWorker()
Getter for waitWorker- Returns:
- the waitWorker
-
getMaxattempts
public int getMaxattempts()
Getter for maxattempts- Returns:
- the maxattempts
-
-