Package org.jgroups.blocks

Provides building blocks that are layered on top of channels.

See:
          Description

Interface Summary
ConnectionTable.ConnectionListener Used to be notified about connection establishment and teardown.
ConnectionTable.Receiver Used for message reception.
DistributedHashtable.Notification  
DistributedQueue.Notification  
DistributedTree.DistributedTreeListener  
DistributedTree.ViewListener  
Link.Receiver  
LockManager LockManager represents generic lock manager that allows obtaining and releasing locks on objects.
LogicalLink.Receiver  
MethodLookup  
NotificationBus.Consumer  
ReplicatedHashtable.Notification  
ReplicatedHashtable.StateTransferListener  
ReplicatedTree.ReplicatedTreeListener  
ReplicationReceiver Implementation of this interface needs to register with ReplicationManager and will receive updates to be applied to its locally replicated data.
RequestHandler  
RpcDispatcher.Marshaller  
RspCollector  
TwoPhaseVotingListener Implementations of this interface can participate in two-phase voting process.
VoteResponseProcessor VoteResultProcessor Applications that use the VotingAdapter and/or TwoPhaseVotingAdapter can pass an implementation of this down the vote calls, to intercept processing of the VoteResults returned by other nodes.
VotingListener Implemetations of this interface are able to participate in voting process.
 

Class Summary
ConnectionTable Manages incoming and outgoing TCP connections.
ConnectionTableNIO Manages incoming and outgoing TCP connections.
ConnectionTableNIO.SelectorWriteHandler  
ConnectionTableNIO.WriteRequest  
DistributedHashtable Provides the abstraction of a java.util.Hashtable that is replicated at several locations.
DistributedLockManager Distributed lock manager is responsible for maintaining the lock information consistent on all participating nodes.
DistributedLockManager.AcquireLockDecree This class represents the lock to be released.
DistributedLockManager.LockDecree This class represents the lock
DistributedLockManager.MultiLockDecree This class represents the lock that has to be marked as multilocked
DistributedLockManager.ReleaseLockDecree This class represents the lock to be released.
DistributedQueue Provides the abstraction of a java.util.LinkedList that is replicated at several locations.
DistributedTree A tree-like structure that is replicated across several members.
GroupRequest Sends a message to all members of the group and waits for all responses (or timeout).
Link Implements a physical link between 2 parties (point-to-point connection).
LogicalLink Implements a logical point-to-point link between 2 entities consisting of a number of physical links.
MembershipListenerAdapter This class provides multiplexing possibilities for MembershipListener instances.
MessageDispatcher Provides synchronous and asynchronous message sending with request-response correlation; i.e., matching responses with the original request.
MessageListenerAdapter This class provides multiplexing possibilities for MessageListener instances.
MethodCall A method call is the JGroups representation of a remote method.
NBMessageForm_NIO NBMessageForm - Message form for non-blocking message reads.
NotificationBus This class provides notification sending and handling capability.
PullPushAdapter Allows a client of Channel to be notified when messages have been received instead of having to actively poll the channel for new messages.
PullPushAdapter.PullHeader  
ReplicatedHashtable Provides the abstraction of a java.util.Hashtable that is replicated at several locations.
ReplicatedTree A tree-like structure that is replicated across several members.
ReplicatedTree.Node  
ReplicationData Class used for data exchange by ReplicationManager and ReplicationReceiver.
ReplicationManager Class to propagate updates to a number of nodes in various ways: Asynchronous Synchronous Synchronous with locking
Note: This class is experimental as of Oct 2002
RequestCorrelator Framework to send requests and receive matching responses (matching on request ID).
RequestCorrelator.Header The header for RequestCorrelator messages
RpcDispatcher This class allows a programmer to invoke remote methods in all (or single) group members and optionally wait for the return value(s).
TwoPhaseVotingAdapter This adapter introduces simple two-phase voting on a specified decree.
TwoPhaseVotingAdapter.TwoPhaseVoteWrapper  
TwoPhaseVotingAdapter.TwoPhaseWrapper Wrapper of the decree to voting decree.
VotingAdapter Voting adapter provides a voting functionality for an application.
VotingAdapter.FailureVoteResult Class that represents a result of local voting on the failed node.
VotingAdapter.VoteResult This class represents the result of local voting.
Xid Distributed transaction ID modeled after the JTA spec.
 

Exception Summary
LockingException  
LockMultiLockedException Thrown by the DistributedLockManager.unlock(Object, Object, boolean) method if a lock is only locally released, because it is locked by multiple DistributedLockManagers.
LockNotGrantedException This exception indicated that lock manager refused to give a lock on some resource.
LockNotReleasedException This exception indicated that lock manager refused to release a lock on some resource.
UpdateException  
VoteException This exception is thrown when voting listener cannot vote on the specified decree.
 

Package org.jgroups.blocks Description

Provides building blocks that are layered on top of channels. Most of them do not even need a channel, all they need is a class that implements interface Transport (channels do). This enables them to work on any type of group transport that obeys this interface. Building blocks can be used instead of channels whenever a higher-level interface is required. Whereas channels are simple socket-like constructs, building blocks may offer a far more sophisticated interface. In some cases, building blocks offer access to the underlying channel, so that - if the building block at hand does not offer a certain functionality - the channel can be accessed directly.



Copyright ? 1998-2005 Bela Ban. All Rights Reserved.