Counter.Builder
Meter.Type
Modifier and Type | Field and Description |
---|---|
static NoopCounter |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
double |
count()
The cumulative count since this counter was created.
|
void |
increment(double amount)
Update the counter by
amount . |
getDescription, getName, getTags, measure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName, getTags
public static final NoopCounter INSTANCE
public void increment(double amount)
Counter
amount
.