Class DropwizardMeter
java.lang.Object
org.apache.hadoop.hbase.metrics.impl.DropwizardMeter
Dropwizard metrics implementation of
Meter.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetCount()Returns the number of events.doubleReturns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.doubleReturns the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.doubleReturns the mean rate at which events have occurred since the meter was created.doubleReturns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.voidmark()Records one occurrence.voidmark(long count) Recordseventsoccurrences.
-
Field Details
-
meter
-
-
Constructor Details
-
DropwizardMeter
public DropwizardMeter() -
DropwizardMeter
-
-
Method Details
-
mark
Description copied from interface:MeterRecords one occurrence. -
mark
Description copied from interface:MeterRecordseventsoccurrences. -
getCount
Description copied from interface:MeterReturns the number of events. -
getMeanRate
Description copied from interface:MeterReturns the mean rate at which events have occurred since the meter was created.- Specified by:
getMeanRatein interfaceMeter- Returns:
- the mean rate at which events have occurred since the meter was created
-
getOneMinuteRate
Description copied from interface:MeterReturns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the one-minute load average in thetopUnix command.- Specified by:
getOneMinuteRatein interfaceMeter- Returns:
- the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
-
getFiveMinuteRate
Description copied from interface:MeterReturns the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the five-minute load average in thetopUnix command.- Specified by:
getFiveMinuteRatein interfaceMeter- Returns:
- the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
-
getFifteenMinuteRate
Description copied from interface:MeterReturns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created. This rate has the same exponential decay factor as the fifteen-minute load average in thetopUnix command.- Specified by:
getFifteenMinuteRatein interfaceMeter- Returns:
- the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
-