| Modifier and Type | Field and Description |
|---|---|
private com.codahale.metrics.Meter |
meter |
| Constructor and Description |
|---|
DropwizardMeter() |
DropwizardMeter(com.codahale.metrics.Meter meter) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Returns the number of events.
|
double |
getFifteenMinuteRate()
Returns the fifteen-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
double |
getFiveMinuteRate()
Returns the five-minute exponentially-weighted 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 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)
Records
events occurrences. |
private final com.codahale.metrics.Meter meter
public DropwizardMeter()
public DropwizardMeter(com.codahale.metrics.Meter meter)
public void mark(long count)
Meterevents occurrences.public long getCount()
Meterpublic double getMeanRate()
MetergetMeanRate in interface Meterpublic double getOneMinuteRate()
Metertop Unix command.getOneMinuteRate in interface Meterpublic double getFiveMinuteRate()
Metertop Unix command.getFiveMinuteRate in interface Meterpublic double getFifteenMinuteRate()
Metertop Unix command.getFifteenMinuteRate in interface MeterCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.