public class DropwizardCounter extends AbstractMeter implements Counter
Counter.Builder
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
double |
count() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
increment(double amount)
Update the counter by
amount . |
getId
public void increment(double amount)
Counter
amount
.public double count()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object