RichFaces Core Implementation 4.3.1.Final-redhat-1

org.richfaces.application.push.impl
Class SessionQueue

java.lang.Object
  extended by 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
SessionQueue()
           
 
Method Summary
 void remove(org.richfaces.application.push.Session session)
           
 void requeue(org.richfaces.application.push.Session session, boolean addIfNotExists)
           
 void shutdown()
           
 org.richfaces.application.push.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 org.richfaces.application.push.Session take()
                                            throws InterruptedException
Throws:
InterruptedException

remove

public void remove(org.richfaces.application.push.Session session)

requeue

public void requeue(org.richfaces.application.push.Session session,
                    boolean addIfNotExists)

shutdown

public void shutdown()

RichFaces Core Implementation 4.3.1.Final-redhat-1

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