public class BMCounter
extends java.lang.Object
implements com.netflix.spectator.api.Counter
Modifier and Type | Method and Description |
---|---|
double |
actualCount() |
void |
add(double amount) |
long |
count() |
boolean |
hasExpired() |
com.netflix.spectator.api.Id |
id() |
void |
increment() |
void |
increment(long amount) |
java.lang.Iterable<com.netflix.spectator.api.Measurement> |
measure() |
public com.netflix.spectator.api.Id id()
id
in interface com.netflix.spectator.api.Meter
public boolean hasExpired()
hasExpired
in interface com.netflix.spectator.api.Meter
public java.lang.Iterable<com.netflix.spectator.api.Measurement> measure()
measure
in interface com.netflix.spectator.api.Meter
public void increment()
increment
in interface com.netflix.spectator.api.Counter
public void increment(long amount)
increment
in interface com.netflix.spectator.api.Counter
public long count()
count
in interface com.netflix.spectator.api.Counter
public void add(double amount)
add
in interface com.netflix.spectator.api.Counter
public double actualCount()
actualCount
in interface com.netflix.spectator.api.Counter
Copyright © 2021. All Rights Reserved.