public class PoolConf extends AbstractModel
Constructor and Description |
---|
PoolConf() |
PoolConf(PoolConf 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 |
---|---|
String |
getConnectionPoolType()
Get 连接池类型:SessionConnectionPool(会话级别连接池
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxPoolConnectionTimeOut()
Get 最大可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMinPoolConnectionTimeOut()
Get 最小可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set 连接池类型:SessionConnectionPool(会话级别连接池
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxPoolConnectionTimeOut(Long MaxPoolConnectionTimeOut)
Set 最大可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMinPoolConnectionTimeOut(Long MinPoolConnectionTimeOut)
Set 最小可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。
|
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 PoolConf()
public PoolConf(PoolConf source)
public String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- 连接池类型:SessionConnectionPool(会话级别连接池
注意:此字段可能返回 null,表示取不到有效值。public Long getMaxPoolConnectionTimeOut()
public void setMaxPoolConnectionTimeOut(Long MaxPoolConnectionTimeOut)
MaxPoolConnectionTimeOut
- 最大可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。public Long getMinPoolConnectionTimeOut()
public void setMinPoolConnectionTimeOut(Long MinPoolConnectionTimeOut)
MinPoolConnectionTimeOut
- 最小可保持连接阈值:单位(秒)
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.