StatisticsIncInt Method (String, Int32) |
Increments the value of the statistic of type int with
the given name by a given amount.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic int IncInt(
string name,
int delta
)
Public Function IncInt (
name As String,
delta As Integer
) As Integer
public:
virtual int IncInt(
String^ name,
int delta
) sealed
abstract IncInt :
name : string *
delta : int -> int
override IncInt :
name : string *
delta : int -> int
Parameters
- name
- Type: SystemString
statistic name - 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 named name or
if the statistic with name name is not of
type int.
|
See Also