Commit 49a768a2 authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Removed parameter from sample

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3843 b35dd754-fafc-0310-a699-88a17e54d16e
parent d4cfb365
...@@ -51,10 +51,9 @@ public interface Statistic { ...@@ -51,10 +51,9 @@ public interface Statistic {
public String getUnits(); public String getUnits();
/** /**
* @param timePeriod The time in seconds since the last sample occured. * @return Returns the sample of data.
* @return Returns the sample of data for the timeperiod
*/ */
public double sample(long timePeriod); public double sample();
public enum Type { public enum Type {
...@@ -64,8 +63,8 @@ public interface Statistic { ...@@ -64,8 +63,8 @@ public interface Statistic {
*/ */
RATE, RATE,
/** /**
* Specifies a count over a specific time period. An example would be * Specifies a count at a specific time period. An example would be the
* the average of how many users were in MultiUserChat rooms over the last 60 seconds. * number of users in MultiUserChat at this second.
*/ */
COUNT COUNT
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment