Wildfire 3.2.4 Javadoc

org.jivesoftware.wildfire.stats
Interface Statistic

All Known Implementing Classes:
i18nStatistic

public interface Statistic

A statistic being tracked by the server.

See Also:
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.
 double sample()
          Returns the current sample of data.
 

Method Detail

getName

String getName()
Returns the name of a stat.

Returns:
the name of a stat.

getStatType

Statistic.Type getStatType()
Returns the type of a stat.

Returns:
the type of a stat.

getDescription

String getDescription()
Returns a description of the stat.

Returns:
a description of the stat.

getUnits

String getUnits()
Returns the units that relate to the stat.

Returns:
the name of the units that relate to the stat.

sample

double sample()
Returns the current sample of data.

Returns:
a sample of the data.

Wildfire 3.2.4 Javadoc

Copyright © 2003-2007 Jive Software.