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)
Meter
events
occurrences.public long getCount()
Meter
public double getMeanRate()
Meter
getMeanRate
in interface Meter
public double getOneMinuteRate()
Meter
top
Unix command.getOneMinuteRate
in interface Meter
public double getFiveMinuteRate()
Meter
top
Unix command.getFiveMinuteRate
in interface Meter
public double getFifteenMinuteRate()
Meter
top
Unix command.getFifteenMinuteRate
in interface Meter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.