StatisticsIncDouble Method (StatisticDescriptor, Double) |
Increments the value of the described statistic of type double
by the given amount.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic double IncDouble(
StatisticDescriptor descriptor,
double delta
)
Public Function IncDouble (
descriptor As StatisticDescriptor,
delta As Double
) As Double
public:
virtual double IncDouble(
StatisticDescriptor^ descriptor,
double delta
) sealed
abstract IncDouble :
descriptor : StatisticDescriptor *
delta : float -> float
override IncDouble :
descriptor : StatisticDescriptor *
delta : float -> float
Parameters
- descriptor
- Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor]
or [!:StatisticsType#nameToDescriptor] - delta
- Type: SystemDouble
change value to be added
Return Value
Type:
Doublethe 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 double.
|
See Also