VMware GemFire Native C++ Reference  9.1
apache::geode::statistics::StatisticsType Class Referenceabstract

Used to describe a logical collection of StatisticDescriptors. More...

Public Member Functions

virtual const char * getDescription ()=0
 Returns a description of this statistics type. More...
 
virtual int32_t getDescriptorsCount ()=0
 Returns the total number of statistics descriptors in the type. More...
 
virtual const char * getName ()=0
 Returns the name of this statistics type. More...
 
virtual StatisticDescriptor ** getStatistics ()=0
 Returns descriptions of the statistics that this statistics type gathers together. More...
 
virtual StatisticDescriptornameToDescriptor (const char *name)=0
 Returns the descriptor of the statistic with the given name in this statistics instance. More...
 
virtual int32_t nameToId (const char *name)=0
 Returns the id of the statistic with the given name in this statistics instance. More...
 
virtual ~StatisticsType ()
 Destructor. More...
 

Detailed Description

Used to describe a logical collection of StatisticDescriptors.

These descriptions are used to create an instance of Statistics.

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

Constructor & Destructor Documentation

virtual apache::geode::statistics::StatisticsType::~StatisticsType ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual const char* apache::geode::statistics::StatisticsType::getDescription ( )
pure virtual

Returns a description of this statistics type.

virtual int32_t apache::geode::statistics::StatisticsType::getDescriptorsCount ( )
pure virtual

Returns the total number of statistics descriptors in the type.

virtual const char* apache::geode::statistics::StatisticsType::getName ( )
pure virtual

Returns the name of this statistics type.

virtual StatisticDescriptor** apache::geode::statistics::StatisticsType::getStatistics ( )
pure virtual

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

virtual StatisticDescriptor* apache::geode::statistics::StatisticsType::nameToDescriptor ( const char *  name)
pure virtual

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

Exceptions
IllegalArgumentExceptionNo statistic named name exists in this statistics instance.
virtual int32_t apache::geode::statistics::StatisticsType::nameToId ( const char *  name)
pure virtual

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

Exceptions
IllegalArgumentExceptionNo statistic named name exists in this statistics instance.

Pivotal GemFire C++ Cache API Documentation