Increments the value of the identified statistic of type int by the given amount.

Namespace: GemStone.GemFire.Cache.Generic
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.4.0

Syntax

C#
public int IncInt(
	int id,
	int delta
)
Visual Basic (Declaration)
Public Function IncInt ( _
	id As Integer, _
	delta As Integer _
) As Integer
Visual C++
public:
virtual int IncInt (
	int id, 
	int delta
) sealed

Parameters

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

Return Value

the value of the statistic after it has been incremented

Exceptions

ExceptionCondition
IllegalArgumentException If the id is invalid.

See Also