iCMS.applet
Class InfoRequestQueue
java.lang.Object
luky.util.BlockingQueue
iCMS.applet.InfoRequestQueue
public class InfoRequestQueue
- extends BlockingQueue
InfoRequestQueue is used to coordinate work between a producer and consumer
threads. The producer adds elements to the queue containing information
The consumer threads remove objects from the queue, if the queue is empty
the thread will block until a new object is added to the queue.
if a new info request is added, from a different token, the queue is auto
-matically cleared
Revision Changes :
- 1.0.0 - initial version
- 2.0.0 - Release for GPL as iCMS
- Version:
- 2.0.0
- Author:
- Chris Lukassen
-

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfoRequestQueue
public InfoRequestQueue()
- default constructor
add
public void add(InfoRequest req)
- add an element to the queue