Package tigase.workgroupqueues.scheduler

## Class QueueStats

- java.lang.Object
- - tigase.workgroupqueues.scheduler.QueueStats

-     public class QueueStats
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QueueStats()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addHandledUser​(java.util.Date joinTime, java.util.Date date)` |
    `double` | `getAverageWaitTime()` | Returns average waiting time.

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

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

- - ### Constructor Detail

    - #### QueueStats

          public QueueStats()

  - ### Method Detail

    - #### addHandledUser

          public void addHandledUser​(java.util.Date joinTime,
                                     java.util.Date date)

    - #### getAverageWaitTime

          public double getAverageWaitTime()

      Returns average waiting time.
      Returns:
        time in milliseconds.