当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
DistributedSetState (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.versioned
Class DistributedSetState
java.lang.Object
   org.jboss.aspects.versioned.StateManager
org.jboss.aspects.versioned.StateManager
       org.jboss.aspects.versioned.CollectionStateManager
org.jboss.aspects.versioned.CollectionStateManager
           org.jboss.aspects.versioned.DistributedSetState
org.jboss.aspects.versioned.DistributedSetState
- All Implemented Interfaces: 
- Collection, DistributedState, Externalizable, Serializable, Set
- public class DistributedSetState- extends CollectionStateManager- implements Set, DistributedState, Externalizable
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
 
 
 
 
 
 
 
 
 
log
protected static org.jboss.logging.Logger log
versionId
protected volatile long versionId
updates
protected HashSet updates
classname
protected String classname
base
protected transient Set base
txState
protected transient org.jboss.tm.TransactionLocal txState
txVersion
protected transient org.jboss.tm.TransactionLocal txVersion
versionManager
protected transient DistributedVersionManager versionManager
synchManager
protected transient SynchronizationManager synchManager
tm
protected transient TransactionManager tm
proxy
protected transient org.jboss.aop.proxy.ClassProxy proxy
DistributedSetState
public DistributedSetState()
- For serialization
 
DistributedSetState
public DistributedSetState(org.jboss.util.id.GUID guid,
                           long timeout,
                           org.jboss.aop.proxy.ClassProxy proxy,
                           Set obj,
                           DistributedVersionManager versionManager,
                           SynchronizationManager synchManager)
                    throws Exception
getMethodMap
public HashMap getMethodMap()
- 
- Specified by:
- getMethodMapin class- CollectionStateManager
 
- 
 
getObject
public org.jboss.aop.InstanceAdvised getObject()
- 
- Specified by:
- getObjectin interface- DistributedState
 
- 
 
getCurrentState
protected Set getCurrentState(boolean forUpdate)
                       throws Exception
- 
 
- 
- Throws:
- Exception
 
createSetUpdates
protected HashSet createSetUpdates(Set state)
- 
 
- 
 
createTxUpdate
public DistributedUpdate createTxUpdate(Transaction tx)
- 
- Specified by:
- createTxUpdatein interface- DistributedState
 
- 
 
buildObject
public org.jboss.aop.InstanceAdvised buildObject(SynchronizationManager manager,
                                                 DistributedVersionManager versionManager)
                                          throws Exception
- 
- Specified by:
- buildObjectin interface- DistributedState
 
- 
- Throws:
- Exception
 
checkOptimisticLock
public void checkOptimisticLock(Transaction tx)
- 
- Specified by:
- checkOptimisticLockin interface- DistributedState
 
- 
 
mergeState
public void mergeState(Transaction tx)
                throws Exception
- 
- Specified by:
- mergeStatein interface- DistributedState
 
- 
- Throws:
- Exception
 
mergeState
public void mergeState(DistributedUpdate update)
                throws Exception
- 
- Specified by:
- mergeStatein interface- DistributedState
 
- 
- Throws:
- Exception
 
add
public boolean add(Object val)
- 
- Specified by:
- addin interface- Set
 
- 
 
addAll
public boolean addAll(Collection c)
- 
- Specified by:
- addAllin interface- Set
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- Set
 
- 
 
contains
public boolean contains(Object o)
- 
- Specified by:
- containsin interface- Set
 
- 
 
containsAll
public boolean containsAll(Collection c)
- 
- Specified by:
- containsAllin interface- Set
 
- 
 
equals
public boolean equals(Object o)
- 
- Specified by:
- equalsin interface- Set
 
- 
 
hashCode
public int hashCode()
- 
- Specified by:
- hashCodein interface- Set
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- Set
 
- 
 
iterator
public Iterator iterator()
- 
- Specified by:
- iteratorin interface- Set
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- Set
 
- 
 
removeAll
public boolean removeAll(Collection c)
- 
- Specified by:
- removeAllin interface- Set
 
- 
 
retainAll
public boolean retainAll(Collection c)
- 
- Specified by:
- retainAllin interface- Set
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Set
 
- 
 
toArray
public Object[] toArray()
- 
- Specified by:
- toArrayin interface- Set
 
- 
 
toArray
public Object[] toArray(Object[] a)
- 
- Specified by:
- toArrayin interface- Set
 
- 
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- 
- Specified by:
- writeExternalin interface- Externalizable
- Overrides:
- writeExternalin class- CollectionStateManager
 
- 
- Throws:
- IOException
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- 
- Specified by:
- readExternalin interface- Externalizable
- Overrides:
- readExternalin class- CollectionStateManager
 
- 
- Throws:
- IOException
- ClassNotFoundException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.