当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
DistributedMapState (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.versioned
Class DistributedMapState
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.DistributedMapState
org.jboss.aspects.versioned.DistributedMapState
- All Implemented Interfaces: 
- DistributedState, Externalizable, Map, Serializable
- public class DistributedMapState- extends CollectionStateManager- implements Map, 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 HashMap updates
classname
protected String classname
base
protected transient Map 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
DistributedMapState
public DistributedMapState()
- For serialization
 
DistributedMapState
public DistributedMapState(org.jboss.util.id.GUID guid,
                           long timeout,
                           org.jboss.aop.proxy.ClassProxy proxy,
                           Map 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 Map getCurrentState(boolean forUpdate)
                       throws Exception
- 
 
- 
- Throws:
- Exception
 
createMapUpdates
protected HashMap createMapUpdates(Map 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
 
clear
public void clear()
- 
- Specified by:
- clearin interface- Map
 
- 
 
containsKey
public boolean containsKey(Object o)
- 
- Specified by:
- containsKeyin interface- Map
 
- 
 
containsValue
public boolean containsValue(Object o)
- 
- Specified by:
- containsValuein interface- Map
 
- 
 
entrySet
public Set entrySet()
- 
- Specified by:
- entrySetin interface- Map
 
- 
 
equals
public boolean equals(Object o)
- 
- Specified by:
- equalsin interface- Map
 
- 
 
get
public Object get(Object o)
- 
- Specified by:
- getin interface- Map
 
- 
 
hashCode
public int hashCode()
- 
- Specified by:
- hashCodein interface- Map
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- Map
 
- 
 
keySet
public Set keySet()
- 
- Specified by:
- keySetin interface- Map
 
- 
 
put
public Object put(Object key,
                  Object val)
- 
- Specified by:
- putin interface- Map
 
- 
 
putAll
public void putAll(Map c)
- 
- Specified by:
- putAllin interface- Map
 
- 
 
remove
public Object remove(Object key)
- 
- Specified by:
- removein interface- Map
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Map
 
- 
 
values
public Collection values()
- 
- Specified by:
- valuesin interface- Map
 
- 
 
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.