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