StatisticsGetInt Method (StatisticDescriptor) |
Returns the value of the described statistic of type
.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic int GetInt(
StatisticDescriptor descriptor
)
Public Function GetInt (
descriptor As StatisticDescriptor
) As Integer
public:
virtual int GetInt(
StatisticDescriptor^ descriptor
) sealed
abstract GetInt :
descriptor : StatisticDescriptor -> int
override GetInt :
descriptor : StatisticDescriptor -> int
Parameters
- descriptor
- Type: GemStone.GemFire.CacheStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor]
or [!:StatisticsType#nameToDescriptor]
Return Value
Type:
Int32
ExceptionsException | Condition |
---|
IllegalArgumentException |
If no statistic exists with the specified descriptor or
if the described statistic is not of
type int.
|
See Also