VMware GemFire Native Client Cache Reference  9.0.6
StatisticDescriptor.hpp
Go to the documentation of this file.
1 #ifndef _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
2 #define _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
3 
4 /*=========================================================================
5  * Copyright (c) 2004-2014 Pivotal Software, Inc. All Rights Reserved.
6  * This product is protected by U.S. and international copyright
7  * and intellectual property laws. Pivotal products are covered by
8  * more patents listed at http://www.pivotal.io/patents.
9  *=========================================================================
10  */
11 
12 #include "../gfcpp_globals.hpp"
13 
14 using namespace gemfire;
15 
19 namespace gemfire_statistics {
20 
35 
36 public:
37 
43  virtual int32 getId() = 0;
44 
45 
49  virtual const char* getName() = 0;
50 
51 
55  virtual const char* getDescription()=0;
56 
57 
63  virtual int8 isCounter()=0;
64 
65 
69  virtual int8 isLargerBetter()=0;
70 
71 
75  virtual const char* getUnit()=0;
76 
77  /*
78  * Destructor
79  */
80  virtual ~StatisticDescriptor() {}
81 
82  }; //class
83 
84 }; //namespace
85 
86 
87 #endif // _GEMFIRE_STATISTICS_STATISTICDESCRIPTOR_HPP_
88 
This namespace contains all the GemFire C++ statistics API classes.
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
int8_t int8
single byte, character or boolean field
Definition: gf_base.hpp:174
int32_t int32
signed 32 bit integer
Definition: gf_base.hpp:178
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Describes an individual statistic whose value is updated by an application and may be archived by Gem...
Definition: StatisticDescriptor.hpp:34

GemFire C++ Cache API Documentation