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 Connection pool type.
|
Long |
getMaxPoolConnectionTimeOut()
Get Maximum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getMinPoolConnectionTimeOut()
Get Minimum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set Connection pool type.
|
void |
setMaxPoolConnectionTimeOut(Long MaxPoolConnectionTimeOut)
Set Maximum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setMinPoolConnectionTimeOut(Long MinPoolConnectionTimeOut)
Set Minimum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.
|
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
- Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)
Note: this field may return `null`, indicating that no valid value can be found.public Long getMaxPoolConnectionTimeOut()
public void setMaxPoolConnectionTimeOut(Long MaxPoolConnectionTimeOut)
MaxPoolConnectionTimeOut
- Maximum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.public Long getMinPoolConnectionTimeOut()
public void setMinPoolConnectionTimeOut(Long MinPoolConnectionTimeOut)
MinPoolConnectionTimeOut
- Minimum value of connection persistence timeout in seconds
Note: this field may return `null`, indicating that no valid value can be found.Copyright © 2023. All rights reserved.