Click or drag to resize
StatisticsIncInt Method (Int32, Int32)
Increments the value of the identified 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(
	int id,
	int delta
)

Parameters

id
Type: SystemInt32
a statistic id obtained with [!:#nameToId] or [!:#StatisticsType#nameToId]
delta
Type: SystemInt32
the value of the statistic after it has been incremented

Return Value

Type: Int32
the value of the statistic after it has been incremented
Exceptions
ExceptionCondition
IllegalArgumentException If the id is invalid.
See Also