public static final class DropwizardTypes.DescribableCounter extends com.codahale.metrics.Counter implements DropwizardTypes.DescribableMetric, Counter
Counter.Builder
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
double |
count()
The cumulative count since this counter was created.
|
Meter.Id |
getId()
Returns A unique combination of name and tags identifying this metric.
|
void |
increment(double amount)
Update the counter by
amount . |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Meter.Id getId()
DropwizardTypes.DescribableMetric
getId
in interface Meter
getId
in interface DropwizardTypes.DescribableMetric
public void increment(double amount)
Counter
amount
.public double count()
Counter
Copyright 2010-2018 ForgeRock AS.