Meter.Type| Modifier and Type | Method and Description |
|---|---|
double |
count()
The cumulative count since this counter was created.
|
java.lang.String |
getName() |
java.lang.Iterable<Tag> |
getTags() |
void |
increment()
Update the counter by one.
|
void |
increment(double amount)
Update the counter by
amount. |
java.lang.Iterable<Measurement> |
measure()
Get the set of measurements for this meter.
|
public void increment()
Counterpublic void increment(double amount)
Counteramount.public double count()
Counterpublic java.lang.Iterable<Measurement> measure()
Meter