3 #ifndef GEODE_STATISTICS_STATISTICSFACTORY_H_ 4 #define GEODE_STATISTICS_STATISTICSFACTORY_H_ 22 #include <geode/geode_globals.hpp> 25 #include "../ExceptionTypes.hpp" 33 namespace statistics {
75 const char* description,
77 bool largerBetter =
true) = 0;
86 const char* description,
88 bool largerBetter =
true) = 0;
98 const char* name,
const char* description,
const char* units,
99 bool largerBetter =
true) = 0;
107 const char* description,
109 bool largerBetter =
false) = 0;
117 const char* description,
119 bool largerBetter =
false) = 0;
127 const char* description,
129 bool largerBetter =
false) = 0;
138 virtual StatisticsType* createType(
const char* name,
const char* description,
140 int32_t statsLength) = 0;
164 const char* textId) = 0;
173 int64_t numericId) = 0;
190 const char* textId) = 0;
200 int64_t numericId) = 0;
208 virtual const char* getName() = 0;
213 virtual int64_t getId() = 0;
223 #endif // GEODE_STATISTICS_STATISTICSFACTORY_H_ 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
Instances of this interface provide methods that create instances of StatisticDescriptor and Statisti...
Definition: StatisticsFactory.hpp:54
An instantiation of an existing StatisticsType object with methods for setting, incrementing and gett...
Definition: Statistics.hpp:39
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