@Configurable public class LoadBalanceBackend extends java.lang.Object
Constructor and Description |
---|
LoadBalanceBackend() |
LoadBalanceBackend(java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
long |
getBusyRecoverTime() |
int |
getConnectionMin() |
long |
getConnectTimeout() |
long |
getIdleTime() |
long |
getRecoverTime() |
long |
getSocketTimeout() |
long |
getWarmupTime() |
int |
getWeight() |
boolean |
hasBusyRecoverTime() |
boolean |
hasConnectionMin() |
boolean |
hasConnectTimeout() |
boolean |
hasIdleTime() |
boolean |
hasRecoverTime() |
boolean |
hasSocketTimeout() |
boolean |
hasWarmupTime() |
boolean |
hasWeight() |
void |
setAddress(java.lang.String address) |
void |
setBusyRecoverTime(Period recoverTime) |
void |
setBusyRecoverTimeMs(long recoverTime) |
void |
setConnectionMin(int connectionMin) |
void |
setConnectTimeout(Period connectTimeout) |
void |
setConnectTimeoutMs(long connectTimeout) |
void |
setIdleTime(Period idleTime) |
void |
setIdleTimeMs(long idleTime) |
void |
setRecoverTime(Period recoverTime) |
void |
setRecoverTimeMs(long recoverTime) |
void |
setSocketTimeout(Period socketTimeout) |
void |
setSocketTimeoutMs(long socketTimeout) |
void |
setWarmupTime(Period warmupTime) |
void |
setWarmupTimeMs(long warmupTime) |
void |
setWeight(int weight) |
java.lang.String |
toString() |
public LoadBalanceBackend()
public LoadBalanceBackend(java.lang.String address)
public java.lang.String getAddress()
@Configurable public void setAddress(java.lang.String address)
public long getConnectTimeout()
@Configurable public void setConnectTimeout(Period connectTimeout)
@Configurable public void setConnectTimeoutMs(long connectTimeout)
public boolean hasConnectTimeout()
public int getConnectionMin()
@Configurable public void setConnectionMin(int connectionMin)
public boolean hasConnectionMin()
public long getSocketTimeout()
@Configurable public void setSocketTimeout(Period socketTimeout)
@Configurable public void setSocketTimeoutMs(long socketTimeout)
public boolean hasSocketTimeout()
public long getIdleTime()
@Configurable public void setIdleTime(Period idleTime)
@Configurable public void setIdleTimeMs(long idleTime)
public boolean hasIdleTime()
public long getRecoverTime()
@Configurable public void setRecoverTime(Period recoverTime)
@Configurable public void setRecoverTimeMs(long recoverTime)
public boolean hasRecoverTime()
@Configurable public void setBusyRecoverTime(Period recoverTime)
@Configurable public void setBusyRecoverTimeMs(long recoverTime)
public boolean hasBusyRecoverTime()
public long getBusyRecoverTime()
public long getWarmupTime()
@Configurable public void setWarmupTime(Period warmupTime)
@Configurable public void setWarmupTimeMs(long warmupTime)
public boolean hasWarmupTime()
public int getWeight()
@Configurable public void setWeight(int weight)
public boolean hasWeight()
public java.lang.String toString()
toString
in class java.lang.Object