Increments the value of the statistic of type int with the given name by a given amount.

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

Syntax

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

Parameters

name
String
statistic name
delta
Int32
change value to be added

Return Value

the value of the statistic after it has been incremented

Exceptions

ExceptionCondition
[!:IllegalArgumentException] If no statistic exists named name or if the statistic with name name is not of type int.

See Also