|
virtual Statistics * | createAtomicStatistics (StatisticsType *type)=0 |
| Creates and returns a Statistics instance of the given type with default ids. More...
|
|
virtual Statistics * | createAtomicStatistics (StatisticsType *type, const char *textId)=0 |
| Creates and returns a Statistics instance of the given type, textId , and with a default numeric id. More...
|
|
virtual Statistics * | createAtomicStatistics (StatisticsType *type, const char *textId, int64_t numericId)=0 |
| Creates and returns a Statistics instance of the given type, textId , and numericId . More...
|
|
virtual StatisticDescriptor * | createDoubleCounter (const char *name, const char *description, const char *units, bool largerBetter=true)=0 |
| Creates and returns an int gauge StatisticDescriptor with the given name , description , units , and with smaller values indicating better performance. More...
|
|
virtual StatisticDescriptor * | createDoubleGauge (const char *name, const char *description, const char *units, bool largerBetter=false)=0 |
| Creates and returns an double gauge StatisticDescriptor with the given name , description , units , and with smaller values indicating better performance. More...
|
|
virtual StatisticDescriptor * | createIntCounter (const char *name, const char *description, const char *units, bool largerBetter=true)=0 |
| Creates and returns a long counter StatisticDescriptor with the given name , description , units ,and with larger values indicating better performance. More...
|
|
virtual StatisticDescriptor * | createIntGauge (const char *name, const char *description, const char *units, bool largerBetter=false)=0 |
| Creates and returns an int gauge StatisticDescriptor with the given name , description , units , and with smaller values indicating better performance. More...
|
|
virtual StatisticDescriptor * | createLongCounter (const char *name, const char *description, const char *units, bool largerBetter=true)=0 |
| Creates and returns a double counter StatisticDescriptor with the given name , description , units , and with larger values indicating better performance. More...
|
|
virtual StatisticDescriptor * | createLongGauge (const char *name, const char *description, const char *units, bool largerBetter=false)=0 |
| Creates and returns an long gauge StatisticDescriptor with the given name , description , units , and with smaller values indicating better performance. More...
|
|
virtual Statistics * | createStatistics (StatisticsType *type)=0 |
| Creates and returns a Statistics instance of the given type with default ids. More...
|
|
virtual Statistics * | createStatistics (StatisticsType *type, const char *textId)=0 |
| Creates and returns a Statistics instance of the given type, textId , and with a default numeric id. More...
|
|
virtual Statistics * | createStatistics (StatisticsType *type, const char *textId, int64_t numericId)=0 |
| Creates and returns a Statistics instance of the given type, textId , and numericId . More...
|
|
virtual StatisticsType * | createType (const char *name, const char *description, StatisticDescriptor **stats, int32_t statsLength)=0 |
| Creates and returns a StatisticsType with the given name , description , and StatisticDescriptor. More...
|
|
virtual Statistics * | findFirstStatisticsByType (StatisticsType *type)=0 |
| Return the first instance that matches the type, or NULL. More...
|
|
virtual StatisticsType * | findType (const char *name)=0 |
| Finds and returns an already created StatisticsType with the given name . More...
|
|
virtual int64_t | getId ()=0 |
| Returns a numeric id that can be used to identify the manager. More...
|
|
virtual const char * | getName ()=0 |
| Returns a name that can be used to identify the manager. More...
|
|
Instances of this interface provide methods that create instances of StatisticDescriptor and StatisticsType.
Every StatisticsFactory is also a type factory.
A StatisticsFactory
can create a statistic of three numeric types: int
, long
, and double
. A statistic (StatisticDescriptor
) can either be a gauge meaning that its value can increase and decrease or a counter meaning that its value is strictly increasing. Marking a statistic as a counter allows the Geode Manager Console to properly display a statistics whose value "wraps around" (that is, exceeds its maximum value).