|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statistic
A statistic being tracked by the server.
StatisticsManager
Nested Class Summary | |
---|---|
static class |
Statistic.Type
The type of statistic. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |