Sets the free connection timeout for this pool.Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 18.104.22.168
public CacheFactory SetFreeConnectionTimeout( int connectionTimeout )
Public Function SetFreeConnectionTimeout ( _ connectionTimeout As Integer _ ) As CacheFactory
public: CacheFactory^ SetFreeConnectionTimeout( int connectionTimeout )
- Type: System Int32
|IllegalArgumentException if connectionTimeout is less than or equal to 0.|
If the pool has a max connections setting, operations will block if all of the connections are in use. The free connection timeout specifies how long those operations will block waiting for a free connection before receiving an AllConnectionsInUseException. If max connections is not set this setting has no effect.