VMware GemFire Native C++ Reference  9.1
StatisticsType.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_STATISTICS_STATISTICSTYPE_H_
4 #define GEODE_STATISTICS_STATISTICSTYPE_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 #include <geode/geode_globals.hpp>
24 
25 using namespace apache::geode::client;
26 
30 namespace apache {
31 namespace geode {
32 namespace statistics {
33 
46  public:
50  virtual const char* getName() = 0;
51 
55  virtual const char* getDescription() = 0;
56 
61  virtual StatisticDescriptor** getStatistics() = 0;
62 
71  virtual int32_t nameToId(const char* name) = 0;
80  virtual StatisticDescriptor* nameToDescriptor(const char* name) = 0;
81 
85  virtual int32_t getDescriptorsCount() = 0;
86 
87  // protected:
91  virtual ~StatisticsType() {}
92 
93 }; // class
94 
95 } // namespace statistics
96 } // namespace geode
97 } // namespace apache
98 
99 #endif // GEODE_STATISTICS_STATISTICSTYPE_H_
Definition: Assert.hpp:33
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
virtual ~StatisticsType()
Destructor.
Definition: StatisticsType.hpp:91
Describes an individual statistic whose value is updated by an application and may be archived by Geo...
Definition: StatisticDescriptor.hpp:47
This namespace contains all the Geode C++ API classes, enumerations and globals.
Used to describe a logical collection of StatisticDescriptors.
Definition: StatisticsType.hpp:45

Pivotal GemFire C++ Cache API Documentation