Pivotal GemFire Native Client Cache Reference  9.0.6
StatisticsType.hpp
Go to the documentation of this file.
1 #ifndef _GEMFIRE_STATISTICS_STATISTICSTYPE_HPP_
2 #define _GEMFIRE_STATISTICS_STATISTICSTYPE_HPP_
3 /*=========================================================================
4  * Copyright (c) 2004-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *=========================================================================
9  */
10 #include "../gfcpp_globals.hpp"
11 #include "StatisticDescriptor.hpp"
12 
13 using namespace gemfire;
14 
18 namespace gemfire_statistics {
19 
20 
32 
33 public :
37  virtual const char* getName()=0;
38 
42  virtual const char* getDescription()=0;
43 
48  virtual StatisticDescriptor** getStatistics()=0;
49 
58  virtual int32 nameToId(const char* name)=0;
67  virtual StatisticDescriptor* nameToDescriptor(const char* name)=0;
68 
69 
73  virtual int32 getDescriptorsCount()=0;
74 
75 //protected:
79  virtual ~StatisticsType() {}
80 
81 };//class
82 
83 }; //namespace
84 
85 #endif //ifndef __GEMFIRE_STATISTICSTYPE_H__
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
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
virtual ~StatisticsType()
Destructor.
Definition: StatisticsType.hpp:79
Used to describe a logical collection of StatisticDescriptors.
Definition: StatisticsType.hpp:31

GemFire C++ Cache API Documentation