/export/rook2/users/build/gfcppsancout64/product/include/gfcpp/statistics/StatisticsType.hpp

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

GemFire C++ Cache API Documentation