build-artifacts/win/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  * Copyright (c) 2004-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *=========================================================================
00009  */
00010 #include "../gfcpp_globals.hpp"
00011 #include "StatisticDescriptor.hpp"
00012 
00013 using namespace gemfire;
00014 
00018 namespace gemfire_statistics {
00019 
00020 
00031 class CPPCACHE_EXPORT StatisticsType {
00032 
00033 public :
00037    virtual const char* getName()=0;
00038 
00042    virtual  const char* getDescription()=0;
00043 
00048    virtual  StatisticDescriptor** getStatistics()=0;
00049 
00058    virtual  int32 nameToId(const char* name)=0;
00067    virtual  StatisticDescriptor* nameToDescriptor(const char* name)=0;
00068 
00069   
00073    virtual int32 getDescriptorsCount()=0;
00074   
00075 //protected:
00079    virtual ~StatisticsType() {}
00080 
00081 };//class
00082 
00083 }; //namespace
00084 
00085 #endif //ifndef __GEMFIRE_STATISTICSTYPE_H__

GemFire C++ Cache API Documentation