public class ProLoadBalanceBuilder extends LoadBalanceBuilder
Constructor and Description |
---|
ProLoadBalanceBuilder() |
Modifier and Type | Method and Description |
---|---|
LoadBalanceManager |
create()
Returns the load balance manager.
|
void |
setStickyRequestHashGenerator(StickyRequestHashGenerator sticky)
The request-sticky generator
|
void |
setTargetCluster(CloudPod pod) |
void |
setTargetCluster(java.lang.String clusterId) |
void |
setTargetPort(int port) |
addAddress, addBackend, addClient, applyBackendConfig, applyDefaults, createClientSocketFactory, createClientSocketFactory, getClientList, getDefaults, getMeterCategory, getStrategy, setConnectionMin, setConnectTimeout, setIdleTime, setMeterCategory, setRecoverTime, setSocketTimeout, setStrategy, setWarmupTime, toString
public void setTargetCluster(java.lang.String clusterId)
setTargetCluster
in class LoadBalanceBuilder
public void setTargetPort(int port)
setTargetPort
in class LoadBalanceBuilder
public void setTargetCluster(CloudPod pod)
setTargetCluster
in class LoadBalanceBuilder
public void setStickyRequestHashGenerator(StickyRequestHashGenerator sticky)
LoadBalanceBuilder
setStickyRequestHashGenerator
in class LoadBalanceBuilder
public LoadBalanceManager create()
create
in class LoadBalanceBuilder