00001 #ifndef _GEMFIRE_STATISTICS_STATISTICSTYPE_HPP_
00002 #define _GEMFIRE_STATISTICS_STATISTICSTYPE_HPP_
00003
00004
00005
00006
00007
00008 #include "../gfcpp_globals.hpp"
00009 #include "StatisticDescriptor.hpp"
00010
00011 using namespace gemfire;
00012
00016 namespace gemfire_statistics {
00017
00018
00029 class CPPCACHE_EXPORT StatisticsType {
00030
00031 public :
00035 virtual const char* getName()=0;
00036
00040 virtual const char* getDescription()=0;
00041
00046 virtual StatisticDescriptor** getStatistics()=0;
00047
00056 virtual int32 nameToId(const char* name)=0;
00065 virtual StatisticDescriptor* nameToDescriptor(const char* name)=0;
00066
00067
00071 virtual int32 getDescriptorsCount()=0;
00072
00073
00077 virtual ~StatisticsType() {}
00078
00079 };
00080
00081 };
00082
00083 #endif //ifndef __GEMFIRE_STATISTICSTYPE_H__