Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Package org.jgroups.blocks

Provides top-level public JGroups classes such as Channel, Message, etc.

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.
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.
DistributedLockManagerTest Testcase for the DistributedLockManager
DistributedQueue Provides the abstraction of a java.util.LinkedList that is replicated at several locations.
DistributedQueueTest  
DistributedTree A tree-like structure that is replicated across several members.
DistributedTree.Node  
GroupRequest Sends a message to all members of the group and waits for all responses (or timeout).
GroupRequestTest  
GroupRequestTest.MyTransport  
Link Implements a physical link between 2 parties (point-to-point connection).
Link.MyReceiver  
LogicalLink Implements a logical point-to-point link between 2 entities consisting of a number of physical links.
LogicalLink.MyReceiver  
MembershipListenerAdapter This class provides multiplexing possibilities for org.jgroups.MembershipListener instances.
MessageDispatcher Provides synchronous and asynchronous message sending with request-response correlation; i.e., matching responses with the original request.
MessageDispatcherThreadingTest  
MessageListenerAdapter This class provides multiplexing possibilities for org.jgroups.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.
NotificationBus.Info  
PullPushAdapter Allows a client of org.jgroups.Channel to be notified when messages have been received instead of having to actively poll the channel for new messages.
PullPushAdapter.PullHeader  
PullPushShunTest  
ReplicatedHashtable Provides the abstraction of a java.util.Hashtable that is replicated at several locations.
ReplicatedHashtable.Request  
ReplicatedTree A tree-like structure that is replicated across several members.
ReplicatedTree.MyListener  
ReplicatedTree.Node  
ReplicatedTree.Request Class used to multicast add(), remove() and set() methods to all members.
ReplicatedTree.StringHolder  
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
RequestCorrelator.RequestEntry Associates an ID with an RspCollector
RpcDispatcher This class allows a programmer to invoke remote methods in all (or single) group members and optionally wait for the return value(s).
TotalTokenProtocolObserver  
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.
VotingAdapterTest  
VotingAdapterTest.TestVoteChannelListener This class always vote according to the parameter passed on the object creation.
Xid Distributed transaction ID modeled after the JTA spec.
 

Exception Summary
LockingException  
LockMultiLockedException Thrown by the DistributedLockManager.unlock(Object, Object, boolean) 55 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 top-level public JGroups classes such as Channel, Message, etc.