Package org.jgroups.demos
Provides demonstrations of JGroups functionality.
-
Class Summary Class Description Chat CounterServiceDemo Draw Shared whiteboard, each new instance joins the same group.DrawCommand Encapsulates information about a draw command.ExecutionServiceDemo ExecutionServiceDemo.ByteBufferStreamable ExecutionServiceDemo.SortingByteCallable ExecutionServiceDemo.SortingTwoByteCallable Sorts 2 byte arrys into a larger byte arrayJmxDemo Shows how annotations can be used to expose attributes and operationsJmxDemo.MyNotification KeyStoreGenerator Generates a keystore file that has a SecretKey in it.LockServiceDemo Demos the LockServiceMemcachedServer Server process which listens for memcached requests and forwards them to an instance of PartitionedHashMap.PartitionedHashMapDemo ProgrammaticChat PubClient Demo of a client which connects to a server (PubServer
) and sends it messages which are forwarded to all connected clientsPubServer 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 ReplCacheReplicatedHashMapDemo Uses the ReplicatedHashMap building block, which subclasses java.util.HashMap and overrides the methods that modify the hashmap (e.g.StompChat Chat client using STOMP to talk to other clientsStompDraw 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).ViewDemo Demos the reception of views using a PullPushAdapter.