org.jgroups.demos
Class DistributedQueueDemo
Frame
org.jgroups.demos.DistributedQueueDemo
- ActionListener, WindowListener, DistributedQueue.Notification
public class DistributedQueueDemo
extends Frame
Uses the DistributedQueue building block. The latter subclasses org.jgroups.util.Queue and overrides
the methods that modify the queue (e.g. add()). Those methods are multicast to the group, whereas
read-only methods such as peek() use the local copy. A DistributedQueue is created given the name
of a group; all queues with the same name find each other and form a group.
- Romuald du Song
DistributedQueueDemo
public DistributedQueueDemo()
actionPerformed
public void actionPerformed(ActionEvent e)
main
public static void main(String[] args)
windowActivated
public void windowActivated(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowClosing
public void windowClosing(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowOpened
public void windowOpened(WindowEvent e)
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.