Class WrappedCounter
java.lang.Object
com.couchbase.client.core.cnc.metrics.WrappedCounter
- All Implemented Interfaces:
Counter
Wraps one or more
Counter as in some ObservabilitySemanticConvention configurations we need to write
to two.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidincrementBy(long number) Increments the counter by the given number.
-
Constructor Details
-
WrappedCounter
public WrappedCounter()
-
-
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.
-
add
-