tigase.stats

## Class CounterPerSecond

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

- All Implemented Interfaces:
    EverySecond

      public class CounterPerSecond
      extends CounterValue
      implements EverySecond

  Author:
    andrzej

- - ### Field Summary

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

      `counter, level, name`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### CounterPerSecond

          public CounterPerSecond(String name,
                                  Level level)

  - ### Method Detail

    - #### everySecond

          public void everySecond()

      Specified by:
        `everySecond` in interface `EverySecond`

    - #### getPerSecond

          public long getPerSecond()

    - #### getStatistics

          public void getStatistics(String compName,
                                    StatisticsList list)

Copyright © 2017 "Tigase, Inc.". All rights reserved.