StatisticsIncLong Method (Int32, Int64) |
Increments the value of the identified statistic of type long
by the given amount.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic long IncLong(
int id,
long delta
)
Public Function IncLong (
id As Integer,
delta As Long
) As Long
public:
virtual long long IncLong(
int id,
long long delta
) sealed
abstract IncLong :
id : int *
delta : int64 -> int64
override IncLong :
id : int *
delta : int64 -> int64
Parameters
- id
- Type: SystemInt32
a statistic id obtained with [!:#nameToId]
or [!:#StatisticsType#nameToId] - delta
- Type: SystemInt64
the value of the statistic after it has been incremented
Return Value
Type:
Int64the value of the statistic after it has been incremented
ExceptionsException | Condition |
---|
IllegalArgumentException |
If the id is invalid.
|
See Also