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

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

Parameters

id
Type: SystemInt32
a statistic id obtained with [!:#nameToId] or [!:#StatisticsType#nameToId]
delta
Type: SystemInt64
the value of the statistic after it has been incremented

Return Value

Type: Int64
the value of the statistic after it has been incremented
Exceptions
ExceptionCondition
IllegalArgumentException If the id is invalid.
See Also