CacheFactorySetLoadConditioningInterval Method |
Sets the load conditioning interval for this pool.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic CacheFactory SetLoadConditioningInterval(
int loadConditioningInterval
)
Public Function SetLoadConditioningInterval (
loadConditioningInterval As Integer
) As CacheFactory
public:
CacheFactory^ SetLoadConditioningInterval(
int loadConditioningInterval
)
member SetLoadConditioningInterval :
loadConditioningInterval : int -> CacheFactory
Parameters
- loadConditioningInterval
- Type: SystemInt32
Return Value
Type:
CacheFactory
a instance of
CacheFactory
ExceptionsException | Condition |
---|
|
throws IllegalArgumentException if connectionLifetime
is less than -1.
|
Remarks
This interval controls how frequently the pool will check to see if
a connection to a given server should be moved to a different
server to improve the load balance.
See Also