Class 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 Detail

      • AggregatingCounter

        public AggregatingCounter()
    • Method Detail

      • 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.