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

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

Syntax

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

Parameters

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

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException If the id is invalid.

See Also