Enum Instance.ConnectionPoolConfig.PoolMode (0.56.0)

public enum Instance.ConnectionPoolConfig.PoolMode extends Enum<Instance.ConnectionPoolConfig.PoolMode> implements ProtocolMessageEnum

The pool mode. Defaults to POOL_MODE_TRANSACTION.

Protobuf enum google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.PoolMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
POOL_MODE_SESSION

Server is released back to pool after a client disconnects.

POOL_MODE_SESSION = 1;

POOL_MODE_SESSION_VALUE

Server is released back to pool after a client disconnects.

POOL_MODE_SESSION = 1;

POOL_MODE_TRANSACTION

Server is released back to pool after a transaction finishes.

POOL_MODE_TRANSACTION = 2;

POOL_MODE_TRANSACTION_VALUE

Server is released back to pool after a transaction finishes.

POOL_MODE_TRANSACTION = 2;

POOL_MODE_UNSPECIFIED

The pool mode is not specified. Defaults to POOL_MODE_TRANSACTION.

POOL_MODE_UNSPECIFIED = 0;

POOL_MODE_UNSPECIFIED_VALUE

The pool mode is not specified. Defaults to POOL_MODE_TRANSACTION.

POOL_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()