00001 #ifndef _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00002 #define _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00003
00004
00005
00006
00007
00008
00009
00010 #include "../gfcpp_globals.hpp"
00011
00012 using namespace gemfire;
00013
00017 namespace gemfire_statistics {
00018
00032 class CPPCACHE_EXPORT StatisticDescriptor {
00033
00034 public:
00035
00041 virtual int32 getId() = 0;
00042
00043
00047 virtual const char* getName() = 0;
00048
00049
00053 virtual const char* getDescription()=0;
00054
00055
00061 virtual int8 isCounter()=0;
00062
00063
00067 virtual int8 isLargerBetter()=0;
00068
00069
00073 virtual const char* getUnit()=0;
00074
00075
00076
00077
00078 virtual ~StatisticDescriptor() {}
00079
00080 };
00081
00082 };
00083
00084
00085 #endif // _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00086