- All Implemented Interfaces:
Counter
@InternalApi
public class NoopCounter
extends Object
implements Counter
-
-
Method Summary
void
void
add value along with the attributes.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
No-op Counter instance
-
Method Details
-
add
public void add(double value)
Description copied from interface: Counter
add value.
- Specified by:
add in interface Counter
- Parameters:
value - value to be added.
-