Set the max number of client to server connections that the pool will create.

Namespace: GemStone.GemFire.Cache.Generic
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.4.0

Syntax

C#
public PoolFactory SetMaxConnections(
	int maxConnections
)
Visual Basic (Declaration)
Public Function SetMaxConnections ( _
	maxConnections As Integer _
) As PoolFactory
Visual C++
public:
PoolFactory^ SetMaxConnections (
	int maxConnections
)

Parameters

maxConnections
Int32

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)

Exceptions

ExceptionCondition
throws IllegalArgumentException if maxConnections is less than minConnections.

See Also