Class DropwizardMeter
java.lang.Object
org.apache.hadoop.hbase.metrics.impl.DropwizardMeter
Dropwizard metrics implementation of
Meter
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
Returns the number of events.double
Returns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.double
Returns the five-minute exponentially-weighted 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 one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.void
mark()
Records one occurrence.void
mark
(long count) Recordsevents
occurrences.
-
Field Details
-
meter
-
-
Constructor Details
-
DropwizardMeter
public DropwizardMeter() -
DropwizardMeter
-
-
Method Details
-
mark
Description copied from interface:Meter
Records one occurrence. -
mark
Description copied from interface:Meter
Recordsevents
occurrences. -
getCount
Description copied from interface:Meter
Returns the number of events. -
getMeanRate
Description copied from interface:Meter
Returns the mean rate at which events have occurred since the meter was created.- Specified by:
getMeanRate
in interfaceMeter
- Returns:
- the mean rate at which events have occurred since the meter was created
-
getOneMinuteRate
Description copied from interface:Meter
Returns 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 thetop
Unix command.- Specified by:
getOneMinuteRate
in 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:Meter
Returns 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 thetop
Unix command.- Specified by:
getFiveMinuteRate
in 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:Meter
Returns 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 thetop
Unix command.- Specified by:
getFifteenMinuteRate
in interfaceMeter
- Returns:
- the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
-