当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
DistributedSynchronizationManager (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.versioned
Class DistributedSynchronizationManager
java.lang.Object
   org.jboss.aspects.versioned.LocalSynchronizationManager
org.jboss.aspects.versioned.LocalSynchronizationManager
       org.jboss.aspects.versioned.DistributedSynchronizationManager
org.jboss.aspects.versioned.DistributedSynchronizationManager
- All Implemented Interfaces: 
- org.jboss.ha.framework.interfaces.HAPartition.HAMembershipListener, org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer, SynchronizationManager
- public class DistributedSynchronizationManager- extends LocalSynchronizationManager- implements org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer, org.jboss.ha.framework.interfaces.HAPartition.HAMembershipListener
Adds replication
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
log
protected static org.jboss.logging.Logger log
partition
protected org.jboss.ha.framework.interfaces.HAPartition partition
domainName
protected String domainName
heldLocks
protected Hashtable heldLocks
DistributedSynchronizationManager
public DistributedSynchronizationManager(String domainName,
                                         DistributedVersionManager versionManager,
                                         org.jboss.ha.framework.interfaces.HAPartition partition)
create
public void create()
            throws Exception
- 
 
- 
- Throws:
- Exception
 
start
public void start()
           throws Exception
- 
 
- 
- Throws:
- Exception
 
pullState
protected void pullState()
                  throws Exception
- 
 
- 
- Throws:
- Exception
 
getCurrentState
public Serializable getCurrentState()
- 
- Specified by:
- getCurrentStatein interface- org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer
 
- 
 
setCurrentState
public void setCurrentState(Serializable newState)
- 
- Specified by:
- setCurrentStatein interface- org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer
 
- 
 
membershipChanged
public void membershipChanged(Vector deadMembers,
                              Vector newMembers,
                              Vector allMembers)
- 
- Specified by:
- membershipChangedin interface- org.jboss.ha.framework.interfaces.HAPartition.HAMembershipListener
 
- 
 
sendNewObjects
public void sendNewObjects(List newObjects)
                    throws Exception
- 
- Overrides:
- sendNewObjectsin class- LocalSynchronizationManager
 
- 
- Throws:
- Exception
 
sendClusterUpdatesAndRelease
protected void sendClusterUpdatesAndRelease(org.jboss.util.id.GUID globalTxId,
                                            List clusterUpdates)
                                     throws Exception
- 
- Overrides:
- sendClusterUpdatesAndReleasein class- LocalSynchronizationManager
 
- 
- Throws:
- Exception
 
acquireRemoteLocks
protected void acquireRemoteLocks(org.jboss.util.id.GUID globalTxId,
                                  List guids)
                           throws Exception
- 
- Overrides:
- acquireRemoteLocksin class- LocalSynchronizationManager
 
- 
- Throws:
- Exception
 
noTxUpdate
public void noTxUpdate(DistributedUpdate update)
                throws Exception
- 
- Specified by:
- noTxUpdatein interface- SynchronizationManager
- Overrides:
- noTxUpdatein class- LocalSynchronizationManager
 
- 
- Throws:
- Exception
 
addNewObjects
public void addNewObjects(List newObjects)
                   throws Exception
- 
 
- 
- Throws:
- Exception
 
updateObjects
public void updateObjects(String nodeName,
                          org.jboss.util.id.GUID globalTxId,
                          ArrayList updates)
                   throws Exception
- 
 
- 
- Throws:
- Exception
 
releaseHeldLocks
public void releaseHeldLocks(String nodeName,
                             org.jboss.util.id.GUID globalTxId)
- 
 
- 
 
acquireLocks
public void acquireLocks(String nodeName,
                         org.jboss.util.id.GUID globalTxId,
                         List list)
                  throws Exception
- 
 
- 
- Throws:
- Exception
 
checkResponses
protected void checkResponses(List rsps)
                       throws Exception
- Checks whether any of the responses are exceptions. If yes, re-throws
 them (as exceptions or runtime exceptions).
 
- 
 
- 
- Parameters:
- rsps-
- Throws:
- Exception
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.