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: 3.6.2.0

Syntax

C#
public long IncLong(
	StatisticDescriptor descriptor,
	long delta
)
Visual Basic (Declaration)
Public Function IncLong ( _
	descriptor As StatisticDescriptor, _
	delta As Long _
) As Long
Visual C++
public:
virtual long long IncLong (
	StatisticDescriptor^ descriptor, 
	long long delta
) sealed

Parameters

descriptor
StatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor] or [!:StatisticsType#nameToDescriptor]
delta
Int64
change value to be added

Return Value

the value of the statistic after it has been incremented

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