Class ThreadSafeCounter


public class ThreadSafeCounter extends ThreadSafeValue
A statistic where each value represents an additive quantity, and thus the sum of the values does have meaning. Examples include event counts and processing duration. If the sum of the values does not have a useful interpretation, use State instead.
  • Field Details

  • Constructor Details

    • ThreadSafeCounter

      public ThreadSafeCounter(long now)
  • Method Details

    • getTypeTag

      public char getTypeTag()
      Specified by:
      getTypeTag in class Value