tigase.workgroupqueues.scheduler

## Class QueueStats

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

-     public class QueueStats
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueueStats()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addHandledUser(Date joinTime, 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(Date joinTime,
                                     Date date)

    - #### getAverageWaitTime

          public double getAverageWaitTime()

      Returns average waiting time.
      Returns:
        time in milliseconds.

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