Package tigase.workgroupqueues.scheduler

# Class QueueStats

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

public class QueueStats extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `QueueStats()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### QueueStats

    public QueueStats()

- ## Method Details

  - ### addHandledUser

    public void addHandledUser(Date joinTime, Date date)

  - ### getAverageWaitTime

    public double getAverageWaitTime()
    Returns average waiting time.
    Returns:
      time in milliseconds.