Click or drag to resize
PoolFactorySetMaxConnections Method
Set the max number of client to server connections that the pool will create.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public PoolFactory SetMaxConnections(
	int maxConnections
)

Parameters

maxConnections
Type: SystemInt32

Return Value

Type: PoolFactory
Exceptions
ExceptionCondition
throws IllegalArgumentException if maxConnections is less than minConnections.
Remarks
If all of the connections are in use, an operation requiring a client to server connection will block until a connection is available. see setFreeConnectionTimeout(int)
See Also