Constructor and Description |
---|
BalancerBuilder() |
public String getName()
public Balancer.BalancerBuilder setName(String name)
public boolean isStickySession()
public Balancer.BalancerBuilder setStickySession(boolean stickySession)
public String getStickySessionCookie()
public Balancer.BalancerBuilder setStickySessionCookie(String stickySessionCookie)
public String getStickySessionPath()
public Balancer.BalancerBuilder setStickySessionPath(String stickySessionPath)
public boolean isStickySessionRemove()
public Balancer.BalancerBuilder setStickySessionRemove(boolean stickySessionRemove)
public boolean isStickySessionForce()
public Balancer.BalancerBuilder setStickySessionForce(boolean stickySessionForce)
public int getWaitWorker()
public Balancer.BalancerBuilder setWaitWorker(int waitWorker)
public int getMaxRetries()
public Balancer.BalancerBuilder setMaxRetries(int maxRetries)
maxRetries
- number of failover attempts@Deprecated public int getMaxattempts()
getMaxRetries()
.@Deprecated public Balancer.BalancerBuilder setMaxattempts(int maxattempts)
setMaxRetries(int)
.public Balancer build()
Copyright © 2019 JBoss by Red Hat. All rights reserved.