Package org.jgroups.demos
Provides demonstrations of JGroups functionality.
-
Class Summary Class Description CausalDemo Simple causal demo where each member bcast a consecutive letter from the alphabet and picks the next member to transmit the next letter.Chat ChatCore DistributedHashtableDemo Uses the DistributedHashtable building block.DistributedQueueDemo Uses the DistributedQueue building block.DistributedTreeDemo Demo showing the DistributedTree class.Draw Shared whiteboard, each new instance joins the same group.Draw2Channels Same as Draw but using 2 channels: one for view changes (control channel) and the other one for drawing (data channel).DrawCommand Encapsulates information about a draw command.DrawMultiplexer DrawRepl Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to all members.Gossip 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.KeyStoreGenerator Generates a keystore file that has a SecretKey in it.NotificationBusDemo Demoes the NotificationBus (without caching).QuoteClient Used in conjunction with QuoteServer: a client is member of a group of quote servers which replicate stock quotes among themselves.QuoteServer Example of a replicated quote server.ReplicatedHashMapDemo Uses the ReplicatedHashMap building block, which subclasses java.util.HashMap and overrides the methods that modify the hashmap (e.g.ReplicatedTreeDemo Graphical view of a ReplicatedTreeTopology Demonstrates the membership service.TotalOrder Originally written to be a demo for TOTAL order (code to be written by a student).TotalTokenDemo Demonstration of TOTAL_TOKEN protocol stack implementing total order.TotalTokenDemo.TotalPayload ViewDemo Demos the reception of views using a PullPushAdapter.