Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire_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 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 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 gemfire_statistics::StatisticsType::~StatisticsType ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual const char* gemfire_statistics::StatisticsType::getDescription ( )
pure virtual

Returns a description of this statistics type.

virtual int32 gemfire_statistics::StatisticsType::getDescriptorsCount ( )
pure virtual

Returns the total number of statistics descriptors in the type.

virtual const char* gemfire_statistics::StatisticsType::getName ( )
pure virtual

Returns the name of this statistics type.

virtual StatisticDescriptor** gemfire_statistics::StatisticsType::getStatistics ( )
pure virtual

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

virtual StatisticDescriptor* gemfire_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 gemfire_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.

GemFire C++ Cache API Documentation