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
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 |
SessionQueue
public SessionQueue()
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()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.