Class IsolatedClientSessionIdentityMapAccessor
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.IdentityMapAccessor
-
- org.eclipse.persistence.internal.sessions.IsolatedClientSessionIdentityMapAccessor
-
- All Implemented Interfaces:
java.io.Serializable,IdentityMapAccessor
public class IsolatedClientSessionIdentityMapAccessor extends IdentityMapAccessor
INTERNAL: Internal subclass that provides access to identity maps through the session. Implements the IdentityMapAccessor interface which provides all publicly available identity map functionality to users. This is the main class that should be used to access identity maps. In general, any function that accesses the identity map manager should go through this class Any session specific functionality appears in subclasses- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.MapobjectsLockedForClone-
Fields inherited from class org.eclipse.persistence.internal.sessions.IdentityMapAccessor
identityMapManager, session
-
-
Constructor Summary
Constructors Constructor Description IsolatedClientSessionIdentityMapAccessor(AbstractSession session)INTERNAL: An IdentityMapAccessor sits between the session and the identityMapManager It needs references in both directions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheKeyacquireDeferredLock(java.lang.Object primaryKey, java.lang.Class javaClass, ClassDescriptor descriptor, boolean isCacheCheckComplete)INTERNAL: Deferred lock the identity map for the object, this is used for avoiding deadlock The return cacheKey should be used to release the deferred lockCacheKeyacquireLock(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor, boolean isCacheCheckComplete)INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap.CacheKeyacquireLockNoWait(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor)INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap.CacheKeyacquireLockWithWait(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor, int wait)INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap.CacheKeyacquireReadLockOnCacheKey(java.lang.Object primaryKey, java.lang.Class domainClass, ClassDescriptor descriptor)INTERNAL: Find the cachekey for the provided primary key and place a readlock on it.CacheKeyacquireReadLockOnCacheKeyNoWait(java.lang.Object primaryKey, java.lang.Class domainClass, ClassDescriptor descriptor)INTERNAL: Find the cachekey for the provided primary key and place a readlock on it.booleanacquireWriteLock()INTERNAL: Lock the entire cache if the cache isolation requires.booleancontainsObjectInIdentityMap(java.lang.Object primaryKey, java.lang.Class theClass, ClassDescriptor descriptor)ADVANCED: Return if their is an object for the primary key.java.util.VectorgetAllFromIdentityMap(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.protected java.lang.ObjectgetAndCloneCacheKeyFromParent(java.lang.Object primaryKey, java.lang.Object objectToClone, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)CacheKeygetCacheKeyByIndex(CacheIndex index, CacheId indexValues, boolean shouldCheckExpiry, ClassDescriptor descriptor)Return the cache key for the cache index or null if not found.CacheKeygetCacheKeyForObject(java.lang.Object primaryKey, java.lang.Class myClass, ClassDescriptor descriptor, boolean forMerge)INTERNAL: Retrieve the cache key for the given identity information.CacheKeygetCacheKeyForObjectForLock(java.lang.Object primaryKey, java.lang.Class myClass, ClassDescriptor descriptor)INTERNAL: Retrieve the cache key for the given identity information.java.util.VectorgetClassesRegistered()INTERNAL: This method is used to get a list of those classes with IdentityMaps in the Session.java.lang.ObjectgetFromIdentityMap(java.lang.Object primaryKey, java.lang.Object object, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)ADVANCED: Return the object from the identity with the primary and class.java.lang.ObjectgetFromIdentityMap(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Query the cache in-memory.java.lang.ObjectgetFromIdentityMapWithDeferredLock(java.lang.Object primaryKey, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Return the object from the identity with the primary and class.java.lang.ObjectgetFromLocalIdentityMap(java.lang.Object primaryKey, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Return the object from the local identity map with the primary and class.IdentityMapgetIdentityMap(ClassDescriptor descriptor, boolean returnNullIfMissing)INTERNAL: Get the identity map for the given class from the IdentityMapManagerIdentityMapManagergetIdentityMapManager()INTERNAL: Get the IdentityMapManager for this IdentityMapAccessor This method should be used for all IdentityMapManager access since it may be overridden in sub classes.java.lang.ObjectgetQueryResult(ReadQuery query, java.util.List parameters, boolean checkExpiry)INTERNAL: Get the cached results associated with a query.AbstractSessiongetSession()INTERNAL: get the session associated with this IdentityMapAccessorjava.lang.ObjectgetWrapper(java.lang.Object primaryKey, java.lang.Class theClass)INTERNAL: Get the wrapper object from the cache key associated with the given primary key, this is used for EJB.WriteLockManagergetWriteLockManager()INTERNAL: Returns the single write Lock manager for this sessionjava.lang.ObjectgetWriteLockValue(java.lang.Object primaryKey, java.lang.Class theClass, ClassDescriptor descriptor)ADVANCED: Extract the write lock value from the identity map.voidinitializeAllIdentityMaps()PUBLIC: Reset the entire object cache.voidinitializeIdentityMap(java.lang.Class theClass)PUBLIC: Reset the identity map for only the instances of the class.voidinitializeIdentityMaps()PUBLIC: Reset the entire local object cache.CacheKeyinternalPutInIdentityMap(java.lang.Object domainObject, java.lang.Object key, java.lang.Object writeLockValue, long readTime, ClassDescriptor descriptor)ADVANCED: Register the object with the identity map.voidinvalidateObjects(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, boolean shouldInvalidateOnException)ADVANCED: Queries the cache in-memory with the passed in criteria and invalidates matching Objects.voidinvalidateQueryCache(java.lang.Class classThatChanged)Invalidate/remove any results for the class from the query cache.voidprintIdentityMap(java.lang.Class businessClass)PUBLIC: Used to print all the objects in the identity map of the passed in class.voidprintIdentityMapLocks()PUBLIC: Used to print all the locks in every identity map in this session.voidprintIdentityMaps()PUBLIC: Used to print all the objects in every identity map in this session.voidputCacheKeyByIndex(CacheIndex index, CacheId indexValues, CacheKey cacheKey, ClassDescriptor descriptor)Index the cache key by the index values.voidputQueryResult(ReadQuery query, java.util.List parameters, java.lang.Object results)INTERNAL: Set the results for a query.voidreleaseWriteLock()INTERNAL: Lock the entire cache if the cache isolation requires.java.lang.ObjectremoveFromIdentityMap(java.lang.Object key, java.lang.Class theClass, ClassDescriptor descriptor, java.lang.Object object)ADVANCED: Remove the object from the object cache.voidsetIdentityMapManager(IdentityMapManager identityMapManager)INTERNAL: Set the IdentityMapManager for this IdentityMapAccessorvoidsetWrapper(java.lang.Object primaryKey, java.lang.Class theClass, java.lang.Object wrapper)INTERNAL: Update the wrapper object the cache key associated with the given primary key, this is used for EJB.voidupdateWriteLockValue(java.lang.Object primaryKey, java.lang.Class theClass, java.lang.Object writeLockValue)ADVANCED: Update the write lock value in the identity map.-
Methods inherited from class org.eclipse.persistence.internal.sessions.IdentityMapAccessor
acquireLock, clearQueryCache, clearQueryCache, clearQueryCache, clearQueryCache, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, extractPrimaryKeyFromRow, getAllCacheKeysFromIdentityMapWithEntityPK, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMapWithEntityPK, getCacheKeyForObject, getCacheKeyForObject, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMapWithDeferredLock, getFromLocalIdentityMapWithDeferredLock, getIdentityMap, getIdentityMap, getRemainingValidTime, getWriteLockValue, getWriteLockValue, getWriteLockValue, invalidateAll, invalidateClass, invalidateClass, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObjects, invalidateObjects, invalidateObjects, isValid, isValid, isValid, isValid, primaryKeyFromVector, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, removeFromIdentityMap, removeFromIdentityMap, removeFromIdentityMap, updateWriteLockValue, updateWriteLockValue, validateCache
-
-
-
-
Constructor Detail
-
IsolatedClientSessionIdentityMapAccessor
public IsolatedClientSessionIdentityMapAccessor(AbstractSession session)
INTERNAL: An IdentityMapAccessor sits between the session and the identityMapManager It needs references in both directions
-
-
Method Detail
-
acquireDeferredLock
public CacheKey acquireDeferredLock(java.lang.Object primaryKey, java.lang.Class javaClass, ClassDescriptor descriptor, boolean isCacheCheckComplete)
INTERNAL: Deferred lock the identity map for the object, this is used for avoiding deadlock The return cacheKey should be used to release the deferred lock- Overrides:
acquireDeferredLockin classIdentityMapAccessor
-
acquireLock
public CacheKey acquireLock(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor, boolean isCacheCheckComplete)
INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap. called with true from the merge process, if true then the refresh will not refresh the object.- Overrides:
acquireLockin classIdentityMapAccessor
-
acquireLockNoWait
public CacheKey acquireLockNoWait(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor)
INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap. called with true from the merge process, if true then the refresh will not refresh the object.- Overrides:
acquireLockNoWaitin classIdentityMapAccessor
-
acquireLockWithWait
public CacheKey acquireLockWithWait(java.lang.Object primaryKey, java.lang.Class domainClass, boolean forMerge, ClassDescriptor descriptor, int wait)
INTERNAL: Provides access for setting a concurrency lock on an object in the IdentityMap. called with true from the merge process, if true then the refresh will not refresh the object.- Overrides:
acquireLockWithWaitin classIdentityMapAccessor
-
acquireReadLockOnCacheKey
public CacheKey acquireReadLockOnCacheKey(java.lang.Object primaryKey, java.lang.Class domainClass, ClassDescriptor descriptor)
INTERNAL: Find the cachekey for the provided primary key and place a readlock on it. This will allow multiple users to read the same object but prevent writes to the object while the read lock is held.- Overrides:
acquireReadLockOnCacheKeyin classIdentityMapAccessor
-
acquireReadLockOnCacheKeyNoWait
public CacheKey acquireReadLockOnCacheKeyNoWait(java.lang.Object primaryKey, java.lang.Class domainClass, ClassDescriptor descriptor)
INTERNAL: Find the cachekey for the provided primary key and place a readlock on it. This will allow multiple users to read the same object but prevent writes to the object while the read lock is held. If no readlock can be acquired then do not wait but return null.- Overrides:
acquireReadLockOnCacheKeyNoWaitin classIdentityMapAccessor
-
acquireWriteLock
public boolean acquireWriteLock()
INTERNAL: Lock the entire cache if the cache isolation requires. By default concurrent reads and writes are allowed. By write, unit of work merge is meant.- Overrides:
acquireWriteLockin classIdentityMapAccessor
-
containsObjectInIdentityMap
public boolean containsObjectInIdentityMap(java.lang.Object primaryKey, java.lang.Class theClass, ClassDescriptor descriptor)ADVANCED: Return if their is an object for the primary key.- Overrides:
containsObjectInIdentityMapin classIdentityMapAccessor
-
getClassesRegistered
public java.util.Vector getClassesRegistered()
INTERNAL: This method is used to get a list of those classes with IdentityMaps in the Session.- Overrides:
getClassesRegisteredin classIdentityMapAccessor
-
getAllFromIdentityMap
public java.util.Vector getAllFromIdentityMap(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects) throws QueryException
ADVANCED: Query the cache in-memory. If the expression is too complex an exception will be thrown. Only return objects that are invalid in the cache if specified.- Specified by:
getAllFromIdentityMapin interfaceIdentityMapAccessor- Overrides:
getAllFromIdentityMapin classIdentityMapAccessor- Parameters:
selectionCriteria- Expression selecting the Objects to be returnedtheClass- Class to be consideredtranslationRow- RecordvalueHolderPolicy- seeInMemoryQueryIndirectionPolicyshouldReturnInvalidatedObjects- boolean - true if only invalid Objects should be returned- Returns:
- Vector of Objects
- Throws:
QueryException
-
getCacheKeyForObject
public CacheKey getCacheKeyForObject(java.lang.Object primaryKey, java.lang.Class myClass, ClassDescriptor descriptor, boolean forMerge)
INTERNAL: Retrieve the cache key for the given identity information.- Overrides:
getCacheKeyForObjectin classIdentityMapAccessor- Parameters:
primaryKey- the primary key of the cache key to be retrieved.myClass- the class of the cache key to be retrieved.
-
getCacheKeyForObjectForLock
public CacheKey getCacheKeyForObjectForLock(java.lang.Object primaryKey, java.lang.Class myClass, ClassDescriptor descriptor)
INTERNAL: Retrieve the cache key for the given identity information.- Overrides:
getCacheKeyForObjectForLockin classIdentityMapAccessor- Parameters:
primaryKey- the primary key of the cache key to be retrieved.myClass- the class of the cache key to be retrieved.
-
getFromIdentityMap
public java.lang.Object getFromIdentityMap(java.lang.Object primaryKey, java.lang.Object object, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)ADVANCED: Return the object from the identity with the primary and class.- Overrides:
getFromIdentityMapin classIdentityMapAccessor
-
getAndCloneCacheKeyFromParent
protected java.lang.Object getAndCloneCacheKeyFromParent(java.lang.Object primaryKey, java.lang.Object objectToClone, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)
-
getFromLocalIdentityMap
public java.lang.Object getFromLocalIdentityMap(java.lang.Object primaryKey, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Return the object from the local identity map with the primary and class. This avoids checking the parent cache for the unit of work.- Overrides:
getFromLocalIdentityMapin classIdentityMapAccessor
-
getFromIdentityMap
public java.lang.Object getFromIdentityMap(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)
INTERNAL: Query the cache in-memory. If the object is not found null is returned. If the expression is too complex an exception will be thrown.- Overrides:
getFromIdentityMapin classIdentityMapAccessor
-
getFromIdentityMapWithDeferredLock
public java.lang.Object getFromIdentityMapWithDeferredLock(java.lang.Object primaryKey, java.lang.Class theClass, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Return the object from the identity with the primary and class. Only return invalidated objects if requested- Overrides:
getFromIdentityMapWithDeferredLockin classIdentityMapAccessor
-
getIdentityMapManager
public IdentityMapManager getIdentityMapManager()
INTERNAL: Get the IdentityMapManager for this IdentityMapAccessor This method should be used for all IdentityMapManager access since it may be overridden in sub classes.- Overrides:
getIdentityMapManagerin classIdentityMapAccessor
-
getIdentityMap
public IdentityMap getIdentityMap(ClassDescriptor descriptor, boolean returnNullIfMissing)
INTERNAL: Get the identity map for the given class from the IdentityMapManager- Overrides:
getIdentityMapin classIdentityMapAccessor
-
getQueryResult
public java.lang.Object getQueryResult(ReadQuery query, java.util.List parameters, boolean checkExpiry)
INTERNAL: Get the cached results associated with a query. Results are cached by the values of the parameters to the query so different parameters will have different cached results.- Overrides:
getQueryResultin classIdentityMapAccessor
-
getSession
public AbstractSession getSession()
INTERNAL: get the session associated with this IdentityMapAccessor- Overrides:
getSessionin classIdentityMapAccessor
-
getWrapper
public java.lang.Object getWrapper(java.lang.Object primaryKey, java.lang.Class theClass)INTERNAL: Get the wrapper object from the cache key associated with the given primary key, this is used for EJB.- Overrides:
getWrapperin classIdentityMapAccessor
-
getWriteLockManager
public WriteLockManager getWriteLockManager()
INTERNAL: Returns the single write Lock manager for this session- Overrides:
getWriteLockManagerin classIdentityMapAccessor
-
getWriteLockValue
public java.lang.Object getWriteLockValue(java.lang.Object primaryKey, java.lang.Class theClass, ClassDescriptor descriptor)ADVANCED: Extract the write lock value from the identity map.- Overrides:
getWriteLockValuein classIdentityMapAccessor
-
initializeAllIdentityMaps
public void initializeAllIdentityMaps()
PUBLIC: Reset the entire object cache.NOTE: be careful using this method. This method blows away both this session's and its parents caches, this includes the server cache or any other cache. This throws away any objects that have been read in. Extream caution should be used before doing this because object identity will no longer be maintained for any objects currently read in. This should only be called if the application knows that it no longer has references to object held in the cache.
- Specified by:
initializeAllIdentityMapsin interfaceIdentityMapAccessor- Overrides:
initializeAllIdentityMapsin classIdentityMapAccessor
-
initializeIdentityMap
public void initializeIdentityMap(java.lang.Class theClass)
PUBLIC: Reset the identity map for only the instances of the class. For inheritance the user must make sure that they only use the root class. Caution must be used in doing this to ensure that the objects within the identity map are not referenced from other objects of other classes or from the application.- Specified by:
initializeIdentityMapin interfaceIdentityMapAccessor- Overrides:
initializeIdentityMapin classIdentityMapAccessor- Parameters:
theClass- Class
-
invalidateQueryCache
public void invalidateQueryCache(java.lang.Class classThatChanged)
Invalidate/remove any results for the class from the query cache. This is used to invalidate the query cache on any change.- Specified by:
invalidateQueryCachein interfaceIdentityMapAccessor- Overrides:
invalidateQueryCachein classIdentityMapAccessor
-
initializeIdentityMaps
public void initializeIdentityMaps()
PUBLIC: Reset the entire local object cache. This throws away any objects that have been read in. Extreme caution should be used before doing this because object identity will no longer be maintained for any objects currently read in. This should only be called if the application knows that it no longer has references to object held in the cache.- Specified by:
initializeIdentityMapsin interfaceIdentityMapAccessor- Overrides:
initializeIdentityMapsin classIdentityMapAccessor
-
putQueryResult
public void putQueryResult(ReadQuery query, java.util.List parameters, java.lang.Object results)
INTERNAL: Set the results for a query. Query results are cached based on the parameter values provided to the query different parameter values access different caches.- Overrides:
putQueryResultin classIdentityMapAccessor
-
putCacheKeyByIndex
public void putCacheKeyByIndex(CacheIndex index, CacheId indexValues, CacheKey cacheKey, ClassDescriptor descriptor)
Index the cache key by the index values.- Overrides:
putCacheKeyByIndexin classIdentityMapAccessor
-
getCacheKeyByIndex
public CacheKey getCacheKeyByIndex(CacheIndex index, CacheId indexValues, boolean shouldCheckExpiry, ClassDescriptor descriptor)
Return the cache key for the cache index or null if not found.- Overrides:
getCacheKeyByIndexin classIdentityMapAccessor
-
printIdentityMap
public void printIdentityMap(java.lang.Class businessClass)
PUBLIC: Used to print all the objects in the identity map of the passed in class. The output of this method will be logged to this session's SessionLog at SEVERE level.- Specified by:
printIdentityMapin interfaceIdentityMapAccessor- Overrides:
printIdentityMapin classIdentityMapAccessor
-
printIdentityMaps
public void printIdentityMaps()
PUBLIC: Used to print all the objects in every identity map in this session. The output of this method will be logged to this session's SessionLog at SEVERE level.- Specified by:
printIdentityMapsin interfaceIdentityMapAccessor- Overrides:
printIdentityMapsin classIdentityMapAccessor
-
printIdentityMapLocks
public void printIdentityMapLocks()
PUBLIC: Used to print all the locks in every identity map in this session. The output of this method will be logged to this session's SessionLog at FINEST level.- Specified by:
printIdentityMapLocksin interfaceIdentityMapAccessor- Overrides:
printIdentityMapLocksin classIdentityMapAccessor
-
internalPutInIdentityMap
public CacheKey internalPutInIdentityMap(java.lang.Object domainObject, java.lang.Object key, java.lang.Object writeLockValue, long readTime, ClassDescriptor descriptor)
ADVANCED: Register the object with the identity map. The object must always be registered with its version number if optimistic locking is used. The readTime may also be included in the cache key as it is constructed.- Overrides:
internalPutInIdentityMapin classIdentityMapAccessor
-
invalidateObjects
public void invalidateObjects(Expression selectionCriteria, java.lang.Class theClass, Record translationRow, boolean shouldInvalidateOnException)
ADVANCED: Queries the cache in-memory with the passed in criteria and invalidates matching Objects. If the expression is too complex either all or none object of theClass invalidated (depending on shouldInvalidateOnException value).- Specified by:
invalidateObjectsin interfaceIdentityMapAccessor- Overrides:
invalidateObjectsin classIdentityMapAccessor- Parameters:
selectionCriteria- Expression selecting the Objects to be returnedtheClass- Class to be consideredtranslationRow- RecordshouldInvalidateOnException- boolean indicates weather to invalidate the object if conform threw exception.
-
releaseWriteLock
public void releaseWriteLock()
INTERNAL: Lock the entire cache if the cache isolation requires. By default concurrent reads and writes are allowed. By write, unit of work merge is meant.- Overrides:
releaseWriteLockin classIdentityMapAccessor
-
removeFromIdentityMap
public java.lang.Object removeFromIdentityMap(java.lang.Object key, java.lang.Class theClass, ClassDescriptor descriptor, java.lang.Object object)ADVANCED: Remove the object from the object cache.- Overrides:
removeFromIdentityMapin classIdentityMapAccessor
-
setIdentityMapManager
public void setIdentityMapManager(IdentityMapManager identityMapManager)
INTERNAL: Set the IdentityMapManager for this IdentityMapAccessor- Overrides:
setIdentityMapManagerin classIdentityMapAccessor
-
setWrapper
public void setWrapper(java.lang.Object primaryKey, java.lang.Class theClass, java.lang.Object wrapper)INTERNAL: Update the wrapper object the cache key associated with the given primary key, this is used for EJB.- Overrides:
setWrapperin classIdentityMapAccessor
-
updateWriteLockValue
public void updateWriteLockValue(java.lang.Object primaryKey, java.lang.Class theClass, java.lang.Object writeLockValue)ADVANCED: Update the write lock value in the identity map.- Specified by:
updateWriteLockValuein interfaceIdentityMapAccessor- Overrides:
updateWriteLockValuein classIdentityMapAccessor
-
-