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 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.Sorts 2 byte arrys into a larger byte arrayShows how annotations can be used to expose attributes and operationsGenerates a keystore file that has a SecretKey in it.Demos the LockServiceServer process which listens for memcached requests and forwards them to an instance of PartitionedHashMap.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.Demos RELAY.Demos RELAY.GUI demo of ReplCacheUses the ReplicatedHashMap building block, which subclasses java.util.HashMap and overrides the methods that modify the hashmap (e.g.Graphical view of a ReplicatedTreeChat client using STOMP to talk to other clientsSimple STOMP demo client.Demonstrates 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.