Package com.codahale.metrics
Interface Metered
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCount()Returns the number of events which have been marked.doublegetFifteenMinuteRate()Returns the fifteen-minute moving average rate at which events have occurred since the meter was created.doublegetFiveMinuteRate()Returns the five-minute moving average rate at which events have occurred since the meter was created.doublegetMeanRate()Returns the mean rate at which events have occurred since the meter was created.doublegetOneMinuteRate()Returns the one-minute moving average rate at which events have occurred since the meter was created.
-
-
-
Method Detail
-
getCount
long getCount()
Returns the number of events which have been marked.
-
getFifteenMinuteRate
double getFifteenMinuteRate()
Returns the fifteen-minute moving average rate at which events have occurred since the meter was created.- Returns:
- the fifteen-minute moving average rate at which events have occurred since the meter was created
-
getFiveMinuteRate
double getFiveMinuteRate()
Returns the five-minute moving average rate at which events have occurred since the meter was created.- Returns:
- the five-minute moving average rate at which events have occurred since the meter was created
-
getMeanRate
double getMeanRate()
Returns the mean rate at which events have occurred since the meter was created.- Returns:
- the mean rate at which events have occurred since the meter was created
-
getOneMinuteRate
double getOneMinuteRate()
Returns the one-minute moving average rate at which events have occurred since the meter was created.- Returns:
- the one-minute moving average rate at which events have occurred since the meter was created
-
-