Class BMCounter
java.lang.Object
net.bluemind.metrics.registry.impl.BMCounter
- All Implemented Interfaces:
com.netflix.spectator.api.Counter
,com.netflix.spectator.api.Meter
-
Method Details
-
id
public com.netflix.spectator.api.Id id()- Specified by:
id
in interfacecom.netflix.spectator.api.Meter
-
hasExpired
public boolean hasExpired()- Specified by:
hasExpired
in interfacecom.netflix.spectator.api.Meter
-
measure
- Specified by:
measure
in interfacecom.netflix.spectator.api.Meter
-
increment
public void increment()- Specified by:
increment
in interfacecom.netflix.spectator.api.Counter
-
increment
public void increment(long amount) - Specified by:
increment
in interfacecom.netflix.spectator.api.Counter
-
count
public long count()- Specified by:
count
in interfacecom.netflix.spectator.api.Counter
-
add
public void add(double amount) - Specified by:
add
in interfacecom.netflix.spectator.api.Counter
-
actualCount
public double actualCount()- Specified by:
actualCount
in interfacecom.netflix.spectator.api.Counter
-