Click or drag to resize
StatisticsIncInt Method (StatisticDescriptor, Int32)
Increments the value of the described statistic of type int by the given amount.

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

Parameters

descriptor
Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
delta
Type: SystemInt32
change value to be added

Return Value

Type: Int32
the value of the statistic after it has been incremented
Exceptions
ExceptionCondition
IllegalArgumentException If no statistic exists for the given descriptor or if the described statistic is not of type int.
See Also