public interface Statistic
StatisticsManager
Modifier and Type | Interface and Description |
---|---|
static class |
Statistic.Type
The type of statistic.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a description of the stat.
|
String |
getName()
Returns the name of a stat.
|
Statistic.Type |
getStatType()
Returns the type of a stat.
|
String |
getUnits()
Returns the units that relate to the stat.
|
boolean |
isPartialSample()
Returns true if the sample value represents only the value of the cluster node
or otherwise it represents the value of the entire cluster.
|
double |
sample()
Returns the current sample of data.
|
String getName()
Statistic.Type getStatType()
String getDescription()
String getUnits()
double sample()
boolean isPartialSample()
An example of a partial sample statistic would be network traffic. Each node keeps track of its own network traffic information. Whilst an example of a total sample statistic would be user sessions since every cluster node knows the total number of connected users across the cluster.
Copyright © 2003-2008 Jive Software.