Statistics IncInt Method (StatisticDescriptor, Int32)vFabric GemFire .NET Client Documentation
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: 7.0.0.0
Syntax

public int IncInt(
	StatisticDescriptor descriptor,
	int delta
)

Parameters

descriptor
Type: GemStone.GemFire.Cache StatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
delta
Type: System Int32
change value to be added

Return Value

the value of the statistic after it has been incremented
Exceptions

ExceptionCondition
GemStone.GemFire.Cache IllegalArgumentException If no statistic exists for the given descriptor or if the described statistic is not of type int.
See Also