Interface CounterTracker


public interface CounterTracker
Tracks a monotonically increasing values.

The counters may never be reset to a lesser value.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Update the counter by one.
    void
    increment(double amount)
    Update the counter by amount.
  • Method Details

    • increment

      void increment()
      Update the counter by one.
    • increment

      void increment(double amount)
      Update the counter by amount.
      Parameters:
      amount - The amount to add to the counter.