PoolFactorySetFreeConnectionTimeout Method |
Sets the free connection timeout for this pool.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic PoolFactory SetFreeConnectionTimeout(
int connectionTimeout
)
Public Function SetFreeConnectionTimeout (
connectionTimeout As Integer
) As PoolFactory
public:
PoolFactory^ SetFreeConnectionTimeout(
int connectionTimeout
)
member SetFreeConnectionTimeout :
connectionTimeout : int -> PoolFactory
Parameters
- connectionTimeout
- Type: SystemInt32
Return Value
Type:
PoolFactory
ExceptionsException | Condition |
---|
|
IllegalArgumentException if connectionTimeout
is less than or equal to 0.
|
Remarks
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.
See Also