Package org.apache.hadoop.hbase.metrics
Interface Meter
 All Superinterfaces:
Metric
 All Known Implementing Classes:
DropwizardMeter
A metric which measure the rate at which some operation is invoked.

Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
Returns the number of events.double
Returns the fifteenminute exponentiallyweighted moving average rate at which events have occurred since the meter was created.double
Returns the fiveminute exponentiallyweighted moving average rate at which events have occurred since the meter was created.double
Returns the mean rate at which events have occurred since the meter was created.double
Returns the oneminute exponentiallyweighted moving average rate at which events have occurred since the meter was created.void
mark()
Records one occurrence.void
mark
(long events) Recordsevents
occurrences.

Method Details

mark
void mark()Records one occurrence. 
mark
Recordsevents
occurrences. Parameters:
events
 Number of occurrences to record.

getCount
long getCount()Returns the number of events. Returns:
 the number of events.

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 the
top
Unix command. Returns:
 the oneminute 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 the
top
Unix command. Returns:
 the fiveminute exponentiallyweighted moving average rate at which events have occurred since the meter was created

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 the
top
Unix command. Returns:
 the fifteenminute exponentiallyweighted moving average rate at which events have occurred since the meter was created
