StatisticsIncInt Method (Int32, Int32) |
Increments the value of the identified 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(
int id,
int delta
)
Public Function IncInt (
id As Integer,
delta As Integer
) As Integer
public:
virtual int IncInt(
int id,
int delta
) sealed
abstract IncInt :
id : int *
delta : int -> int
override IncInt :
id : int *
delta : int -> int
Parameters
- id
- Type: SystemInt32
a statistic id obtained with [!:#nameToId]
or [!:#StatisticsType#nameToId] - delta
- Type: SystemInt32
the value of the statistic after it has been incremented
Return Value
Type:
Int32the value of the statistic after it has been incremented
Exceptions
See Also