Package tigase.stats

Class CounterValue

java.lang.Object
tigase.stats.CounterValue
Direct Known Subclasses:
Counter, CounterPerSecond

public class CounterValue extends Object
Author:
andrzej
  • Field Details

    • level

      protected final Level level
    • counter

      protected long counter
    • name

      protected String name
  • Constructor Details

    • CounterValue

      public CounterValue(String name, Level level)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • inc

      public void inc()
    • getLevel

      public Level getLevel()
    • getValue

      public long getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object