Statistics GetLong Method (StatisticDescriptor)Pivotal GemFire .NET Client Documentation
Returns the value of the described statistic of type long.

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

public long GetLong(
	StatisticDescriptor descriptor
)

Parameters

descriptor
Type: GemStone.GemFire.Cache.Generic StatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
Exceptions

ExceptionCondition
[!:IllegalArgumentException] If no statistic exists with the specified descriptor or if the described statistic is not of type long.
See Also