Click or drag to resize
StatisticsGetLong Method (StatisticDescriptor)
Returns the value of the described statistic of type long.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public long GetLong(
	StatisticDescriptor descriptor
)

Parameters

descriptor
Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]

Return Value

Type: Int64
Exceptions
ExceptionCondition
IllegalArgumentException If no statistic exists with the specified descriptor or if the described statistic is not of type long.
See Also