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 voidincrementBy(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:CounterIncrements the counter by the given number.- Specified by:
incrementByin interfaceCounter- Parameters:
number- the number to increment the counter by.
-