Package org.jgroups.demos
package org.jgroups.demos
Provides demonstrations of JGroups functionality.
-
ClassesClassDescriptionSimple causal demo where each member bcast a consecutive letter from the alphabet and picks the next member to transmit the next letter.Uses the DistributedHashtable building block.Uses the DistributedQueue building block.Demo showing the DistributedTree class.Shared whiteboard, each new instance joins the same group.Same as Draw but using 2 channels: one for view changes (control channel) and the other one for drawing (data channel).Encapsulates information about a draw command.Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to all members.Demos that tries to graphically illustrating the gossip (or pbcast) protocol: every sender periodically sends a DRAW command to a random subset of the group members.Generates a keystore file that has a SecretKey in it.Demoes the NotificationBus (without caching).Used in conjunction with QuoteServer: a client is member of a group of quote servers which replicate stock quotes among themselves.Example of a replicated quote server.Uses the ReplicatedHashMap building block, which subclasses java.util.HashMap and overrides the methods that modify the hashmap (e.g.Graphical view of a ReplicatedTreeDemonstrates the membership service.Originally written to be a demo for TOTAL order (code to be written by a student).Demonstration of TOTAL_TOKEN protocol stack implementing total order.Demos the reception of views using a PullPushAdapter.