# Package org.jgroups.demos

Provides demonstrations of JGroups functionality.

See: Description

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.
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.
DrawRepl | Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to all members.
ExecutionServiceDemo |
ExecutionServiceDemo.SortingByteCallable |
ExecutionServiceDemo.SortingTwoByteCallable | Sorts 2 byte arrys into a larger byte array
JmxDemo | Shows how annotations can be used to expose attributes and operations
KeyStoreGenerator | Generates a keystore file that has a SecretKey in it.
LockServiceDemo | Demos the LockService
MemcachedServer | Server process which listens for memcached requests and forwards them to an instance of PartitionedHashMap.
NotificationBusDemo | Demoes the NotificationBus (without caching).
PartitionedHashMapDemo |
ProgrammaticChat |
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.
RelayDemo | Demos RELAY.
RelayDemoRpc | Demos RELAY.
ReplCacheDemo | GUI demo of ReplCache
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 ReplicatedTree
StompChat | Chat client using STOMP to talk to other clients
StompDraw | Simple STOMP demo client.
Topology | 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.

## Package org.jgroups.demos Description

Provides demonstrations of JGroups functionality.