Package com.couchbase.client.core.cnc
Interface Counter
-
- All Known Implementing Classes:
AggregatingCounter
,NoopCounter
@Volatile public interface Counter
Represents a generic Counter interface for metrics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
incrementBy(long number)
Increments the counter by the given number.
-