Click or drag to resize
CacheFactorySetIdleTimeout Method
Set the amount of time a connection can be idle before expiring the connection.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public CacheFactory SetIdleTimeout(
	int idleTimeout
)

Parameters

idleTimeout
Type: SystemInt32

Return Value

Type: CacheFactory
a instance of CacheFactory
Exceptions
ExceptionCondition
throws IllegalArgumentException if idleTimout is less than 0.
Remarks
If the pool size is greater than the minimum specified, connections which have been idle for longer than the idleTimeout will be closed.
See Also