GemStone::GemFire::Cache::StatisticsType Class Reference


Detailed Description

This class is used to describe a logical collection of StatisticDescriptors.These descriptions are used to create an instance of Statistics class.

To get an instance of this interface use an instance of StatisticsFactory class.

The class is purposefully inherited from UMWrapN and not UMWrap as the destructor of the class is protected, and so it is now not called from inside the InternalCleanup method.

Public Member Functions

virtual
StatisticDescriptor
NameToDescriptor (String^ name)
virtual int32_t NameToId (String^ name)

Properties

virtual String^  Description [get]
virtual int32_t DescriptorsCount [get]
virtual String^  Name [get]
virtual array
< StatisticDescriptor^ >^ 
Statistics [get]


Member Function Documentation

virtual StatisticDescriptor ^ GemStone::GemFire::Cache::StatisticsType::NameToDescriptor ( String^   name  )  [virtual]

Returns the descriptor of the statistic with the given name in this statistics instance.

Parameters:
name the statistic name
Returns:
the descriptor of the statistic with the given name
Exceptions:
IllegalArgumentException if no statistic named name exists in this statistic instance.

virtual int32_t GemStone::GemFire::Cache::StatisticsType::NameToId ( String^   name  )  [virtual]

Returns the id of the statistic with the given name in this statistics instance.

Parameters:
name the statistic name
Returns:
the id of the statistic with the given name
Exceptions:
IllegalArgumentException if no statistic named name exists in this statistic instance.


Property Documentation

virtual String^ GemStone::GemFire::Cache::StatisticsType::Description [get]

Returns a description of this statistics type.

virtual int32_t GemStone::GemFire::Cache::StatisticsType::DescriptorsCount [get]

Returns the total number of statistics descriptors in the type.

virtual String^ GemStone::GemFire::Cache::StatisticsType::Name [get]

Returns the name of this statistics type.

virtual array< StatisticDescriptor^>^ GemStone::GemFire::Cache::StatisticsType::Statistics [get]

Returns descriptions of the statistics that this statistics type gathers together.


GemFire C++ Cache .NET API Documentation