gemfire_statistics::StatisticsType Class Reference


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.

Public Member Functions

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


Constructor & Destructor Documentation

virtual gemfire_statistics::StatisticsType::~StatisticsType (  )  [inline, virtual]

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:
IllegalArgumentException No 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:
IllegalArgumentException No statistic named name exists in this statistics instance.


GemFire C++ Cache API Documentation