StatisticsSetInt Method (StatisticDescriptor, Int32) |
Sets the value of a described statistic of type int
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic void SetInt(
StatisticDescriptor descriptor,
int value
)
Public Sub SetInt (
descriptor As StatisticDescriptor,
value As Integer
)
public:
virtual void SetInt(
StatisticDescriptor^ descriptor,
int value
) sealed
abstract SetInt :
descriptor : StatisticDescriptor *
value : int -> unit
override SetInt :
descriptor : StatisticDescriptor *
value : int -> unit
Parameters
- descriptor
- Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor]
or [!:#StatisticsType#nameToDescriptor] - value
- Type: SystemInt32
value to set
ExceptionsException | Condition |
---|
IllegalArgumentException |
If no statistic exists for the given descriptor or
if the described statistic is not of
type int.
|
See Also