/export/rook1/users/build/gfcppsancout64/product/include/gfcpp/statistics/StatisticDescriptor.hpp

Go to the documentation of this file.
00001 #ifndef _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00002 #define _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00003 
00004 /*=========================================================================
00005  * (c) Copyright 2004-2007, GemStone Systems, Inc. All Rights Reserved.
00006  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
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    * Destructor
00077    */
00078    virtual ~StatisticDescriptor() {} 
00079  
00080  }; //class
00081 
00082 }; //namespace 
00083 
00084 
00085 #endif // _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00086 

GemFire C++ Cache API Documentation