Click or drag to resize
StatisticsSetInt Method (StatisticDescriptor, Int32)
Sets the value of a described statistic of type int

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public void SetInt(
	StatisticDescriptor descriptor,
	int value
)

Parameters

descriptor
Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:#StatisticsType#nameToDescriptor]
value
Type: SystemInt32
value to set
Exceptions
ExceptionCondition
IllegalArgumentException If no statistic exists for the given descriptor or if the described statistic is not of type int.
See Also