GemStone::GemFire::Cache::Generic::StatisticDescriptor Class Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire_statistics::StatisticDescriptor >.


Detailed Description

A class that describes an individual statistic whose value is updated by an application and may be archived by GemFire. These descriptions are gathered together in a StatisticsType class.

To get an instance of this interface use an instance of StatisticsFactory class.

StatisticDescriptors are naturally ordered by their name.

Protected Member Functions

void InternalCleanup ()
void SetPtr (gemfire_statistics::StatisticDescriptor *nativeptr, bool own)

Properties

virtual String^  Description [get]
virtual int32_t ID [get]
virtual int8_t IsCounter [get]
virtual int8_t IsLargerBetter [get]
virtual String^  Name [get]
bool Own [get, set]
virtual String^  Unit [get]


Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire_statistics::StatisticDescriptor >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire_statistics::StatisticDescriptor >::SetPtr ( gemfire_statistics::StatisticDescriptor *  nativeptr,
bool  own 
) [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL or you do not own it.


Property Documentation

virtual String^ GemStone::GemFire::Cache::Generic::StatisticDescriptor::Description [get]

Returns the description of this statistic

virtual int32_t GemStone::GemFire::Cache::Generic::StatisticDescriptor::ID [get]

Returns the id of this statistic in a StatisticsType class. The id is initialized when its statistics type is created.

virtual int8_t GemStone::GemFire::Cache::Generic::StatisticDescriptor::IsCounter [get]

Returns true if this statistic is a counter; false if its a gauge. Counter statistics have values that always increase. Gauge statistics have unconstrained values.

virtual int8_t GemStone::GemFire::Cache::Generic::StatisticDescriptor::IsLargerBetter [get]

Returns true if a larger statistic value indicates better performance.

virtual String^ GemStone::GemFire::Cache::Generic::StatisticDescriptor::Name [get]

Returns the name of this statistic

bool GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire_statistics::StatisticDescriptor >::Own [get, set, protected, inherited]

Get or set the ownership of this object.

Returns:
True if the native object is owned by this object.

virtual String^ GemStone::GemFire::Cache::Generic::StatisticDescriptor::Unit [get]

Returns the unit in which this statistic is measured.


GemFire C++ Cache .NET API Documentation