Package org.eclipse.microprofile.metrics
Interface Metered


Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCount()
Returns the number of events which have been marked.double
getFifteenMinuteRate()
Returns the fifteenminute exponentiallyweighted moving average rate at which events have occurred since the meter was created.double
getFiveMinuteRate()
Returns the fiveminute exponentiallyweighted 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.double
getOneMinuteRate()
Returns the oneminute exponentiallyweighted 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 fifteenminute exponentiallyweighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the fifteenminute load average in thetop
Unix command. Returns:
 the fifteenminute exponentiallyweighted moving average rate at which events have occurred since the meter was created

getFiveMinuteRate
double getFiveMinuteRate()
Returns the fiveminute exponentiallyweighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the fiveminute load average in thetop
Unix command. Returns:
 the fiveminute exponentiallyweighted 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 oneminute exponentiallyweighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the oneminute load average in thetop
Unix command. Returns:
 the oneminute exponentiallyweighted moving average rate at which events have occurred since the meter was created

