Class NoopCounter
java.lang.Object
com.couchbase.client.core.cnc.metrics.NoopCounter
- All Implemented Interfaces:
Counter
public class NoopCounter extends Object implements Counter
-
Constructor Summary
Constructors Constructor Description NoopCounter()
-
Method Summary
Modifier and Type Method Description void
incrementBy(long number)
Increments the counter by the given number.
-
Constructor Details
-
NoopCounter
public NoopCounter()
-
-
Method Details
-
incrementBy
public void incrementBy(long number)Description copied from interface:Counter
Increments the counter by the given number.- Specified by:
incrementBy
in interfaceCounter
- Parameters:
number
- the number to increment the counter by.
-