CacheFactorySetStatisticInterval Method |
Set how often to send client statistics to the server.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic CacheFactory SetStatisticInterval(
int statisticInterval
)
Public Function SetStatisticInterval (
statisticInterval As Integer
) As CacheFactory
public:
CacheFactory^ SetStatisticInterval(
int statisticInterval
)
member SetStatisticInterval :
statisticInterval : int -> CacheFactory
Parameters
- statisticInterval
- Type: SystemInt32
Return Value
Type:
CacheFactory
a instance of
CacheFactory
ExceptionsException | Condition |
---|
|
throws IllegalArgumentException if statisticInterval
is less than -1.
|
Remarks
Doing this allows gfmon to monitor clients.
A value of -1 disables the sending of client statistics
to the server.
See Also