00001 #ifndef _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00002 #define _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "../gfcpp_globals.hpp"
00013
00014 using namespace gemfire;
00015
00019 namespace gemfire_statistics {
00020
00034 class CPPCACHE_EXPORT StatisticDescriptor {
00035
00036 public:
00037
00043 virtual int32 getId() = 0;
00044
00045
00049 virtual const char* getName() = 0;
00050
00051
00055 virtual const char* getDescription()=0;
00056
00057
00063 virtual int8 isCounter()=0;
00064
00065
00069 virtual int8 isLargerBetter()=0;
00070
00071
00075 virtual const char* getUnit()=0;
00076
00077
00078
00079
00080 virtual ~StatisticDescriptor() {}
00081
00082 };
00083
00084 };
00085
00086
00087 #endif // _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00088