Package | Description |
---|---|
org.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
org.jgroups.blocks.mux | |
org.jgroups.demos |
Provides demonstrations of JGroups functionality.
|
org.jgroups.demos.wb |
A distributed whiteboard applet implemented using JGroups.
|
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.relay | |
org.jgroups.tests | |
org.jgroups.tests.perf | |
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Receiver
Defines the callbacks that are invoked when messages, views etc are received on a channel
|
Modifier and Type | Class and Description |
---|---|
class |
ReceiverAdapter
An adapter implementing the Receiver interface with no-op implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
PartitionedHashMap<K,V>
Hashmap which distributes its keys and values across the cluster.
|
static class |
PartitionedHashMap.ConsistentHashFunction<K> |
class |
ReplCache<K,V>
Cache which allows for replication factors per data items; the factor determines how many replicas
of a key/value we create across the cluster.
See doc/design/ReplCache.txt for details. |
class |
ReplicatedHashMap<K,V>
Implementation of a
ConcurrentMap with replication of the contents across a cluster. |
class |
ReplicatedTree
A tree-like structure that is replicated across several members.
|
Modifier and Type | Field and Description |
---|---|
protected MembershipListener |
MessageDispatcher.membership_listener |
Modifier and Type | Method and Description |
---|---|
void |
PartitionedHashMap.addMembershipListener(MembershipListener l) |
void |
ReplCache.addMembershipListener(MembershipListener l) |
void |
PartitionedHashMap.removeMembershipListener(MembershipListener l) |
void |
ReplCache.removeMembershipListener(MembershipListener l) |
void |
MessageDispatcher.setMembershipListener(MembershipListener l) |
Constructor and Description |
---|
MessageDispatcher(Channel channel,
MessageListener l,
MembershipListener l2) |
MessageDispatcher(Channel channel,
MessageListener l,
MembershipListener l2,
RequestHandler req_handler) |
RpcDispatcher(Channel channel,
MessageListener l,
MembershipListener l2,
Object server_obj) |
Constructor and Description |
---|
MuxMessageDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
RequestHandler handler) |
MuxRpcDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
Object serverObject) |
MuxRpcDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
Object serverObject,
MethodLookup method_lookup) |
Modifier and Type | Class and Description |
---|---|
class |
Chat |
class |
Draw
Shared whiteboard, each new instance joins the same group.
|
class |
QuoteClient
Used in conjunction with QuoteServer: a client is member of a group of quote servers which replicate
stock quotes among themselves.
|
class |
QuoteServer
Example of a replicated quote server.
|
class |
RelayDemoRpc
Demos RELAY.
|
class |
ViewDemo
Demos the reception of views using a PullPushAdapter.
|
Modifier and Type | Class and Description |
---|---|
class |
Whiteboard
Shared whiteboard: members are represented by rectangles that contain their names and the OS/arch of
the machine they are working on.
|
Modifier and Type | Class and Description |
---|---|
protected class |
RELAY.Receiver |
Modifier and Type | Class and Description |
---|---|
protected class |
Relayer.Bridge |
Modifier and Type | Class and Description |
---|---|
class |
FlowControlTest
Interactive test for MFC and UFC
|
class |
LargeState
Tests transfer of large states.
|
class |
MessageDispatcherSpeedTest |
class |
PingPong
Simple protocol to test round trip times.
|
class |
RoundTrip
Class that measure RTT for multicast messages between 2 cluster members.
|
class |
RoundTripMulticast
Class that measure RTT between a client and server using multicast sockets
|
class |
RoundTripRpc
Class that measure RTT for multicast messages between 2 cluster members.
|
class |
RpcDispatcherBlocking
Tests synchronous group RPCs.
|
class |
RpcDispatcherSpeedTest
Test for measuring performance of group RPCs.
|
protected class |
UnicastTest.MyReceiver |
class |
UnicastTestRpc
Tests performance of unicast RPCs between a caller and a recipient
|
Modifier and Type | Class and Description |
---|---|
class |
MPerf
Dynamic tool to measure multicast performance of JGroups; every member sends N messages and we measure how long it
takes for all receivers to receive them.
All messages received from a member P are checked for ordering and non duplicity.
MPerf is dynamic because it doesn't accept any configuration
parameters (besides the channel config file and name); all configuration is done at runtime, and will be broadcast
to all cluster members.
|
class |
MPerfRpc
Dynamic tool to measure multicast RPC performance of JGroups; every member invokes N RPCs and we measure how long it
takes for all receivers to receive them.
Initially copied from
MPerf . |
class |
UPerf
Tests the UNICAST by invoking unicast RPCs between a sender and a receiver.
|
class |
UUPerf
Tests the UNICAST by invoking unicast RPCs from all the nodes to a single node.
|
Modifier and Type | Class and Description |
---|---|
class |
MyReceiver<T>
Generic receiver for a JChannel
|
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.