public class ProxyConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ProxyConfig() |
ProxyConfig(ProxyConfig 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 |
getConnectionPoolTimeOut()
Get 连接池阈值:单位(秒)
|
String |
getConnectionPoolType()
Get 连接池类型:SessionConnectionPool(会话级别连接池 )
|
Long |
getCpu()
Get cpu核数
|
String |
getDescription()
Get 描述说明
|
Long |
getMem()
Get 内存
|
String |
getOpenConnectionPool()
Get 是否开启连接池,yes-开启,no-不开启
|
Long |
getProxyCount()
Get 数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones
|
ProxyZone[] |
getProxyZones()
Get 数据库节点信息(该参数与ProxyCount需要任选一个输入)
|
void |
setConnectionPoolTimeOut(Long ConnectionPoolTimeOut)
Set 连接池阈值:单位(秒)
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set 连接池类型:SessionConnectionPool(会话级别连接池 )
|
void |
setCpu(Long Cpu)
Set cpu核数
|
void |
setDescription(String Description)
Set 描述说明
|
void |
setMem(Long Mem)
Set 内存
|
void |
setOpenConnectionPool(String OpenConnectionPool)
Set 是否开启连接池,yes-开启,no-不开启
|
void |
setProxyCount(Long ProxyCount)
Set 数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones
|
void |
setProxyZones(ProxyZone[] ProxyZones)
Set 数据库节点信息(该参数与ProxyCount需要任选一个输入)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ProxyConfig()
public ProxyConfig(ProxyConfig source)
public Long getProxyCount()
public void setProxyCount(Long ProxyCount)
ProxyCount
- 数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZonespublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- cpu核数public Long getMem()
public void setMem(Long Mem)
Mem
- 内存public String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- 连接池类型:SessionConnectionPool(会话级别连接池 )public String getOpenConnectionPool()
public void setOpenConnectionPool(String OpenConnectionPool)
OpenConnectionPool
- 是否开启连接池,yes-开启,no-不开启public Long getConnectionPoolTimeOut()
public void setConnectionPoolTimeOut(Long ConnectionPoolTimeOut)
ConnectionPoolTimeOut
- 连接池阈值:单位(秒)public String getDescription()
public void setDescription(String Description)
Description
- 描述说明public ProxyZone[] getProxyZones()
public void setProxyZones(ProxyZone[] ProxyZones)
ProxyZones
- 数据库节点信息(该参数与ProxyCount需要任选一个输入)Copyright © 2025. All rights reserved.