Package tigase.workgroupqueues.scheduler

# Class DummyScheduler

java.lang.Object
tigase.workgroupqueues.scheduler.DummyScheduler

All Implemented Interfaces:
  `Scheduler`

@Bean(name="Scheduler", active=true) public class DummyScheduler extends Object implements Scheduler

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DummyScheduler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Agent`
  `getBestAgent(Queue queue, User user)`
  Returns agent to handle user.
  `void`
  `onUserJoinedQueue(Queue queue, User user)`
  Callback method.

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

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

- ## Constructor Details

  - ### DummyScheduler

    public DummyScheduler()

- ## Method Details

  - ### getBestAgent

    public Agent getBestAgent(Queue queue, User user)
    Description copied from interface: `Scheduler`
    Returns agent to handle user.
    Specified by:
      `getBestAgent` in interface `Scheduler`
    Parameters:
      `queue` - queue.
      `user` - user to be handled
    Returns:
      agent.

  - ### onUserJoinedQueue

    public void onUserJoinedQueue(Queue queue, User user)
    Description copied from interface: `Scheduler`
    Callback method. Called when new user join to queue.
    Specified by:
      `onUserJoinedQueue` in interface `Scheduler`
    Parameters:
      `queue` - queue.
      `user` - user joined to queue.