Click or drag to resize
PoolFactorySetIdleTimeout 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 PoolFactory SetIdleTimeout(
	int idleTimeout
)

Parameters

idleTimeout
Type: SystemInt32

Return Value

Type: PoolFactory
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