Package com.couchbase.client.core.cnc
Interface Counter
- All Known Implementing Classes:
AggregatingCounter
,NoopCounter
Represents a generic Counter interface for metrics.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
incrementBy
(long number) Increments the counter by the given number.
-
Method Details
-
incrementBy
void incrementBy(long number) Increments the counter by the given number.- Parameters:
number
- the number to increment the counter by.
-