Sets the value of a named statistic of type int

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

Syntax

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

Parameters

name
String
statistic name
value
Int32
value to set

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