org.richfaces.application.push.impl

## Class SessionQueue

- java.lang.Object
- - org.richfaces.application.push.impl.SessionQueue

-     public final class SessionQueue
      extends Object

  Based on DelayQueue by Doug Lea: http://gee.cs.oswego.edu/
  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SessionQueue()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `remove(Session session)`
    `void` | `requeue(Session session, boolean addIfNotExists)`
    `void` | `shutdown()`
    `Session` | `take()`

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

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

- - ### Constructor Detail

    - #### SessionQueue

          public SessionQueue()

  - ### Method Detail

    - #### take

          public Session take()
                       throws InterruptedException

      Throws:
        `InterruptedException`

    - #### remove

          public void remove(Session session)

    - #### requeue

          public void requeue(Session session,
                              boolean addIfNotExists)

    - #### shutdown

          public void shutdown()

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.