public class DropwizardCounter extends AbstractDropwizardMeter implements Counter
Meter.Typeid| Constructor and Description |
|---|
DropwizardCounter(MeterId id,
com.codahale.metrics.Meter impl) |
| Modifier and Type | Method and Description |
|---|---|
double |
count()
The cumulative count since this counter was created.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
increment(double amount)
Update the counter by
amount. |
java.util.List<Measurement> |
measure()
Get the set of measurements for this meter.
|
getName, getTagspublic DropwizardCounter(MeterId id, com.codahale.metrics.Meter impl)
public java.util.List<Measurement> measure()
Meterpublic void increment(double amount)
Counteramount.public double count()
Counterpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object