Set the minimum number of connections to keep available at all times.

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

Syntax

C#
public CacheFactory SetMinConnections(
	int minConnections
)
Visual Basic (Declaration)
Public Function SetMinConnections ( _
	minConnections As Integer _
) As CacheFactory
Visual C++
public:
CacheFactory^ SetMinConnections (
	int minConnections
)

Parameters

minConnections
Int32

Return Value

a instance of CacheFactory

Remarks

When the pool is created, it will create this many connections. If 0 then connections will not be made until an actual operation is done that requires client-to-server communication.

Exceptions

ExceptionCondition
throws IllegalArgumentException if minConnections is less than 0.

See Also