Class DropwizardCounter
- java.lang.Object
-
- io.micrometer.core.instrument.AbstractMeter
-
- io.micrometer.core.instrument.dropwizard.DropwizardCounter
-
public class DropwizardCounter extends AbstractMeter implements Counter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Counter
Counter.Builder
-
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
count()
boolean
equals(java.lang.Object o)
int
hashCode()
void
increment(double amount)
Update the counter byamount
.-
Methods inherited from class io.micrometer.core.instrument.AbstractMeter
getId
-
-
-
-
Method Detail
-
increment
public void increment(double amount)
Description copied from interface:Counter
Update the counter byamount
.
-
count
public double count()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-