StatisticsIncLong Method (StatisticDescriptor, Int64) |
Increments the value of the described statistic of type long
by the given amount.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic long IncLong(
StatisticDescriptor descriptor,
long delta
)
Public Function IncLong (
descriptor As StatisticDescriptor,
delta As Long
) As Long
public:
virtual long long IncLong(
StatisticDescriptor^ descriptor,
long long delta
) sealed
abstract IncLong :
descriptor : StatisticDescriptor *
delta : int64 -> int64
override IncLong :
descriptor : StatisticDescriptor *
delta : int64 -> int64
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:
Int64the value of the statistic after it has been incremented
ExceptionsException | Condition |
---|
IllegalArgumentException |
If no statistic exists for the given descriptor or
if the described statistic is not of
type long.
|
See Also