Statistics SetLong Method (StatisticDescriptor, Int64)Pivotal GemFire .NET Client Documentation
Sets the value of a described statistic of type long

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

public void SetLong(
	StatisticDescriptor descriptor,
	long value
)

Parameters

descriptor
Type: GemStone.GemFire.Cache StatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
value
Type: System Int64
value to set
Exceptions

ExceptionCondition
GemStone.GemFire.Cache IllegalArgumentException If no statistic exists for the given descriptor or if the described statistic is not of type long.
See Also