Class AggregatingCounter

java.lang.Object
com.couchbase.client.core.cnc.metrics.AggregatingCounter
All Implemented Interfaces:
Counter

@Volatile public class AggregatingCounter extends Object implements Counter
At the moment this is a NOOP implementation because we do not perform any aggregations on the counters.
  • Constructor Details

    • AggregatingCounter

      public AggregatingCounter()
  • Method Details

    • incrementBy

      public void incrementBy(long number)
      Description copied from interface: Counter
      Increments the counter by the given number.
      Specified by:
      incrementBy in interface Counter
      Parameters:
      number - the number to increment the counter by.