tigase.stats

## Class Counter

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

- Direct Known Subclasses:
    StatisticHolderImpl

      public class Counter
      extends CounterValue

  Author:
    andrzej

- - ### Field Summary

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

      `counter, level, name`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `everyHour()`
    `void` | `everyMinute()`
    `void` | `everySecond()`
    `long` | `getPerHour()`
    `long` | `getPerMinute()`
    `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

    - #### Counter

          public Counter(String name,
                         Level level)

  - ### Method Detail

    - #### everyHour

          public void everyHour()

    - #### everyMinute

          public void everyMinute()

    - #### everySecond

          public void everySecond()

    - #### getPerHour

          public long getPerHour()

    - #### getPerMinute

          public long getPerMinute()

    - #### getPerSecond

          public long getPerSecond()

    - #### getStatistics

          public void getStatistics(String compName,
                                    StatisticsList list)

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.