public class L4HealthConfig extends AbstractModel
Constructor and Description |
---|
L4HealthConfig() |
L4HealthConfig(L4HealthConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAliveNum()
Get 健康阈值,单位次
|
Long |
getEnable()
Get =1表示开启;=0表示关闭
|
Long |
getInterval()
Get 检测间隔时间,单位秒
|
Long |
getKeepTime()
Get 会话保持时间,单位秒
|
Long |
getKickNum()
Get 不健康阈值,单位次
|
String |
getProtocol()
Get 转发协议,取值[TCP, UDP]
|
Long |
getTimeOut()
Get 响应超时时间,单位秒
|
Long |
getVirtualPort()
Get 转发端口
|
void |
setAliveNum(Long AliveNum)
Set 健康阈值,单位次
|
void |
setEnable(Long Enable)
Set =1表示开启;=0表示关闭
|
void |
setInterval(Long Interval)
Set 检测间隔时间,单位秒
|
void |
setKeepTime(Long KeepTime)
Set 会话保持时间,单位秒
|
void |
setKickNum(Long KickNum)
Set 不健康阈值,单位次
|
void |
setProtocol(String Protocol)
Set 转发协议,取值[TCP, UDP]
|
void |
setTimeOut(Long TimeOut)
Set 响应超时时间,单位秒
|
void |
setVirtualPort(Long VirtualPort)
Set 转发端口
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public L4HealthConfig()
public L4HealthConfig(L4HealthConfig source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 转发协议,取值[TCP, UDP]public Long getVirtualPort()
public void setVirtualPort(Long VirtualPort)
VirtualPort
- 转发端口public Long getEnable()
public void setEnable(Long Enable)
Enable
- =1表示开启;=0表示关闭public Long getTimeOut()
public void setTimeOut(Long TimeOut)
TimeOut
- 响应超时时间,单位秒public Long getInterval()
public void setInterval(Long Interval)
Interval
- 检测间隔时间,单位秒public Long getKickNum()
public void setKickNum(Long KickNum)
KickNum
- 不健康阈值,单位次public Long getAliveNum()
public void setAliveNum(Long AliveNum)
AliveNum
- 健康阈值,单位次public Long getKeepTime()
public void setKeepTime(Long KeepTime)
KeepTime
- 会话保持时间,单位秒Copyright © 2021. All rights reserved.