public final class ConnectionPoolConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConnectionPoolConfig() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPoolConfig |
clone() |
String |
getClientConnectionIdleTimeout()
Client idle timeout.
|
Boolean |
getConnectionPoolingEnabled()
Whether managed connection pooling is enabled.
|
Integer |
getConnPoolSize()
Managed connection pool size.
|
List<ConnectionPoolFlags> |
getFlags()
Optional.
|
Integer |
getMaxClientConnections()
Maximum number of client connections in connection pool.
|
String |
getPoolMode()
The managed connection pool mode for the instance.
|
String |
getQueryWaitTimeout()
Query wait timeout.
|
String |
getServerConnectionIdleTimeout()
Server idle timeout.
|
ConnectionPoolConfig |
set(String fieldName,
Object value) |
ConnectionPoolConfig |
setClientConnectionIdleTimeout(String clientConnectionIdleTimeout)
Client idle timeout.
|
ConnectionPoolConfig |
setConnectionPoolingEnabled(Boolean connectionPoolingEnabled)
Whether managed connection pooling is enabled.
|
ConnectionPoolConfig |
setConnPoolSize(Integer connPoolSize)
Managed connection pool size.
|
ConnectionPoolConfig |
setFlags(List<ConnectionPoolFlags> flags)
Optional.
|
ConnectionPoolConfig |
setMaxClientConnections(Integer maxClientConnections)
Maximum number of client connections in connection pool.
|
ConnectionPoolConfig |
setPoolMode(String poolMode)
The managed connection pool mode for the instance.
|
ConnectionPoolConfig |
setQueryWaitTimeout(String queryWaitTimeout)
Query wait timeout.
|
ConnectionPoolConfig |
setServerConnectionIdleTimeout(String serverConnectionIdleTimeout)
Server idle timeout.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClientConnectionIdleTimeout()
null for nonepublic ConnectionPoolConfig setClientConnectionIdleTimeout(String clientConnectionIdleTimeout)
clientConnectionIdleTimeout - clientConnectionIdleTimeout or null for nonepublic Integer getConnPoolSize()
null for nonepublic ConnectionPoolConfig setConnPoolSize(Integer connPoolSize)
connPoolSize - connPoolSize or null for nonepublic Boolean getConnectionPoolingEnabled()
null for nonepublic ConnectionPoolConfig setConnectionPoolingEnabled(Boolean connectionPoolingEnabled)
connectionPoolingEnabled - connectionPoolingEnabled or null for nonepublic List<ConnectionPoolFlags> getFlags()
null for nonepublic ConnectionPoolConfig setFlags(List<ConnectionPoolFlags> flags)
flags - flags or null for nonepublic Integer getMaxClientConnections()
null for nonepublic ConnectionPoolConfig setMaxClientConnections(Integer maxClientConnections)
maxClientConnections - maxClientConnections or null for nonepublic String getPoolMode()
null for nonepublic ConnectionPoolConfig setPoolMode(String poolMode)
poolMode - poolMode or null for nonepublic String getQueryWaitTimeout()
null for nonepublic ConnectionPoolConfig setQueryWaitTimeout(String queryWaitTimeout)
queryWaitTimeout - queryWaitTimeout or null for nonepublic String getServerConnectionIdleTimeout()
null for nonepublic ConnectionPoolConfig setServerConnectionIdleTimeout(String serverConnectionIdleTimeout)
serverConnectionIdleTimeout - serverConnectionIdleTimeout or null for nonepublic ConnectionPoolConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ConnectionPoolConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.