Click or drag to resize
StatisticsIncLong Method (StatisticDescriptor, Int64)
Increments the value of the described statistic of type long by the given amount.

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

Parameters

descriptor
Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
delta
Type: SystemInt64
change value to be added

Return Value

Type: Int64
the value of the statistic after it has been incremented
Exceptions
ExceptionCondition
IllegalArgumentException If no statistic exists for the given descriptor or if the described statistic is not of type long.
See Also