Sets the value of a statistic with the given id whose type is int.

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

Syntax

C#
public void SetInt(
	int id,
	int value
)
Visual Basic (Declaration)
Public Sub SetInt ( _
	id As Integer, _
	value As Integer _
)
Visual C++
public:
virtual void SetInt (
	int id, 
	int value
) sealed

Parameters

id
Int32
a statistic id obtained with [!:#nameToId] or [!:#StatisticsType#nameToId]
value
Int32
value to set

Exceptions

ExceptionCondition
[!:IllegalArgumentException] If the id is invalid.

See Also