Counter.Builder
Meter.Id, 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 . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final NoopCounter INSTANCE
public void increment(double amount)
Counter
amount
.