|
GemFire 6.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StatisticDescriptor
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.
To get an instance of this interface use an instance of
StatisticsFactory.
StatisticDescriptors are naturally ordered by their name.
| Method Summary | |
|---|---|
String |
getDescription()
Returns a description of this statistic |
int |
getId()
Returns the id of this statistic in a statistics type. |
String |
getName()
Returns the name of this statistic |
Class<?> |
getType()
Returns the type of this statistic |
String |
getUnit()
Returns the unit in which this statistic is measured |
boolean |
isCounter()
Returns true if this statistic is a counter; false if its a gauge. |
boolean |
isLargerBetter()
Returns true if a larger statistic value indicates better performance. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
int getId()
statistics type. The id is initialized when its statistics
type is created.
IllegalStateException - The id has not been initialized yetString getName()
String getDescription()
Class<?> getType()
boolean isCounter()
boolean isLargerBetter()
String getUnit()
|
GemFire 6.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||