build-artifacts/win/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  * Copyright (c) 2004-2014 Pivotal Software, Inc. All Rights Reserved.
00006  * This product is protected by U.S. and international copyright
00007  * and intellectual property laws. Pivotal products are covered by
00008  * more patents listed at http://www.pivotal.io/patents.
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    * Destructor
00079    */
00080    virtual ~StatisticDescriptor() {} 
00081  
00082  }; //class
00083 
00084 }; //namespace 
00085 
00086 
00087 #endif // _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
00088 

GemFire C++ Cache API Documentation