1 #ifndef _GEMFIRE_STATISTICS_STATISTICS_HPP_ 2 #define _GEMFIRE_STATISTICS_STATISTICS_HPP_ 11 #include "../gfcpp_globals.hpp" 32 virtual void close()=0;
47 virtual int32 nameToId(
const char* name)=0;
66 virtual int64 getUniqueId()=0;
75 virtual const char* getTextId()=0;
80 virtual int64 getNumericId()=0;
90 virtual bool isAtomic()=0;
97 virtual bool isShared()=0;
101 virtual bool isClosed()=0;
127 virtual void setInt(
char* name,
int32 value)=0;
155 virtual void setLong(
int32 id,
int64 value) = 0;
179 virtual void setLong(
char* name,
int64 value)=0;
191 virtual void setDouble(
int32 id,
double value)=0;
215 virtual void setDouble(
char* name,
double value)=0;
250 virtual int32 getInt(
char* name)=0;
284 virtual int64 getLong(
char* name)=0;
294 virtual double getDouble(
int32 id)=0;
317 virtual double getDouble(
char* name)=0;
399 virtual int32 incInt(
char* name,
int32 delta)=0;
444 virtual int64 incLong(
char* name,
int64 delta)=0;
459 virtual double incDouble(
int32 id,
double delta)=0;
489 virtual double incDouble(
char* name,
double delta)=0;
500 #endif // _GEMFIRE_STATISTICS_STATISTICS_HPP_ This namespace contains all the GemFire C++ statistics API classes.
int64_t int64
signed 64 bit integer
Definition: gf_base.hpp:180
int32_t int32
signed 32 bit integer
Definition: gf_base.hpp:178
An instantiation of an existing StatisticsType object with methods for setting, incrementing and gett...
Definition: Statistics.hpp:23
#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
Used to describe a logical collection of StatisticDescriptors.
Definition: StatisticsType.hpp:31