Statistics IncInt Method (String, Int32)Pivotal GemFire .NET Client Documentation
Increments the value of the statistic of type int with the given name by a given amount.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.1.0.0
Syntax

public int IncInt(
	string name,
	int delta
)

Parameters

name
Type: System String
statistic name
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 named name or if the statistic with name name is not of type int.
See Also