public class ClientSessionIdentityMapAccessor extends IdentityMapAccessor
identityMapManager, session| Constructor and Description |
|---|
ClientSessionIdentityMapAccessor(ClientSession session)
INTERNAL:
Create a ClientSessionIdentityMapAccessor
Since the parent session's identity map manager is used, an IdentityMapManager
does not need to be supplied to the constructor
|
| Modifier and Type | Method and Description |
|---|---|
IdentityMapManager |
getIdentityMapManager()
INTERNAL:
Return the IdentityMapManager for the client session.
|
void |
initializeAllIdentityMaps()
INTERNAL:
Was PUBLIC: customer will be redirected to
Session. |
void |
initializeIdentityMap(java.lang.Class theClass)
INTERNAL:
The client session does not have a local indentity map, so this has no effect and should not be used.
|
void |
initializeIdentityMaps()
INTERNAL:
The client session does not have a local indentity map, so this has no effect and should not be used.
|
void |
setIdentityMapManager(IdentityMapManager identityMapManager)
INTERNAL:
The identity map manager cannot be set on a client session since it
looks at it's parent session's identity map manager.
|
acquireDeferredLock, acquireLock, acquireLock, acquireLockNoWait, acquireReadLockOnCacheKey, acquireReadLockOnCacheKeyNoWait, acquireWriteLock, clearQueryCache, clearQueryCache, clearQueryCache, clearQueryCache, containsKey, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, extractPrimaryKeyFromRow, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getCacheKeyForObject, getCacheKeyForObject, getClassesRegistered, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMapWithDeferredLock, getFromIdentityMapWithDeferredLock, getIdentityMap, getIdentityMap, getRemainingValidTime, getSession, getWrapper, getWriteLockManager, getWriteLockValue, getWriteLockValue, getWriteLockValue, internalPutInIdentityMap, invalidateAll, invalidateClass, invalidateClass, invalidateObject, invalidateObject, invalidateObject, invalidateObjects, invalidateObjects, isValid, isValid, isValid, printIdentityMap, printIdentityMapLocks, printIdentityMaps, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, releaseWriteLock, removeFromIdentityMap, removeFromIdentityMap, removeFromIdentityMap, setWrapper, updateWriteLockValue, updateWriteLockValue, validateCachepublic ClientSessionIdentityMapAccessor(ClientSession session)
public void initializeAllIdentityMaps()
Session.
Reset the entire object cache.
This method blows away both this session's and its parents caches, including 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.initializeAllIdentityMaps in interface IdentityMapAccessorinitializeAllIdentityMaps in class IdentityMapAccessorpublic IdentityMapManager getIdentityMapManager()
getIdentityMapManager in class IdentityMapAccessorpublic void initializeIdentityMap(java.lang.Class theClass)
initializeIdentityMap in interface IdentityMapAccessorinitializeIdentityMap in class IdentityMapAccessortheClass - Classpublic void initializeIdentityMaps()
initializeIdentityMaps in interface IdentityMapAccessorinitializeIdentityMaps in class IdentityMapAccessorpublic void setIdentityMapManager(IdentityMapManager identityMapManager)
setIdentityMapManager in class IdentityMapAccessor