Meter.Type
Modifier and Type | Method and Description |
---|---|
double |
count()
The cumulative count since this counter was created.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.lang.Iterable<Tag> |
getTags() |
int |
hashCode() |
void |
increment(double amount)
Update the counter by
amount . |
java.util.List<Measurement> |
measure()
Get the set of measurements for this meter.
|
public void increment(double amount)
Counter
amount
.public double count()
Counter
public java.util.List<Measurement> measure()
Meter
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object