Set the amount of time a connection can be idle before expiring the connection.

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

Syntax

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

Parameters

idleTimeout
Int32

Remarks

If the pool size is greater than the minimum specified, connections which have been idle for longer than the idleTimeout will be closed.

Exceptions

ExceptionCondition
throws IllegalArgumentException if idleTimout is less than 0.

See Also