Package tigase.stats

# Class CounterPerSecond

java.lang.Object
tigase.stats.CounterValue
tigase.stats.CounterPerSecond

public class CounterPerSecond extends CounterValue

Author:
  andrzej

- ## Field Summary

  ### Fields inherited from class tigase.stats.CounterValue

  `counter, level, name`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CounterPerSecond(String name, Level level)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `everySecond()`
  `long`
  `getPerSecond()`
  `void`
  `getStatistics(String compName, StatisticsList list)`

  ### Methods inherited from class tigase.stats.CounterValue

  `getLevel, getName, getValue, inc, setName, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CounterPerSecond

    public CounterPerSecond(String name, Level level)

- ## Method Details

  - ### everySecond

    public void everySecond()

  - ### getPerSecond

    public long getPerSecond()

  - ### getStatistics

    public void getStatistics(String compName, StatisticsList list)