Metered

public interface Metered extends Counting

Represents a metric that maintains mean and exponentially-weighted rates.

Methods

getFifteenMinuteRate

double getFifteenMinuteRate()

Returns the fifteen-minute weighted moving average of events occurring since the meter’s creation.

Returns:the fifteen-minute weighted moving average.

getFiveMinuteRate

double getFiveMinuteRate()

Returns the five-minute weighted moving average of events occurring since the meter’s creation.

Returns:the five-minute weighted moving average.

getMeanRate

double getMeanRate()

Returns the mean rate of events occurring since the meter’s creation.

Returns:the mean rate of events.

getOneMinuteRate

double getOneMinuteRate()

Returns the one-minute weighted moving average of events occuring since the meter’s creation.

Returns:the one-minute weighted moving average.