public static interface Timer.Metrics
| Modifier and Type | Method and Description |
|---|---|
double |
getFifteenMinuteRate()
Returns the fifteen-minute exponentially-weighted moving average rate at which events
have occurred since the meter was created.
|
double |
getFiveMinuteRate()
Returns the five-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
double |
getMeanRate()
Returns the mean rate at which events have occurred since the meter was created.
|
long |
getNumberOfFailedCalls()
Returns the current number of failed calls.
|
long |
getNumberOfSuccessfulCalls()
Returns the current number of successful calls.
|
long |
getNumberOfTotalCalls()
Returns the current number of total calls.
|
double |
getOneMinuteRate()
Returns the one-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
com.codahale.metrics.Snapshot |
getSnapshot()
Returns a snapshot of the values.
|
long getNumberOfTotalCalls()
long getNumberOfSuccessfulCalls()
long getNumberOfFailedCalls()
double getFifteenMinuteRate()
This rate has the same exponential decay factor as the fifteen-minute load average in the
top Unix command.
double getFiveMinuteRate()
This rate has the same exponential decay factor as the five-minute load average in the
top Unix command.
double getMeanRate()
double getOneMinuteRate()
This rate has the same exponential decay factor as the one-minute load average in the
top Unix command.
com.codahale.metrics.Snapshot getSnapshot()