public class ClientSessionIdentityMapAccessor extends IdentityMapAccessor
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 identity map, so this has no effect and should not be used.
|
void |
initializeIdentityMaps()
INTERNAL:
The client session does not have a local identity 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, acquireLockWithWait, acquireReadLockOnCacheKey, acquireReadLockOnCacheKeyNoWait, acquireWriteLock, clearQueryCache, clearQueryCache, clearQueryCache, clearQueryCache, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, containsObjectInIdentityMap, getAllCacheKeysFromIdentityMapWithEntityPK, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMapWithEntityPK, getCacheKeyByIndex, getCacheKeyForObject, getCacheKeyForObject, getCacheKeyForObject, getCacheKeyForObjectForLock, getClassesRegistered, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMapWithDeferredLock, getFromIdentityMapWithDeferredLock, getFromLocalIdentityMap, getFromLocalIdentityMapWithDeferredLock, getIdentityMap, getIdentityMap, getIdentityMap, getQueryResult, getRemainingValidTime, getSession, getWrapper, getWriteLockManager, getWriteLockValue, getWriteLockValue, getWriteLockValue, getWriteLockValue, internalPutInIdentityMap, invalidateAll, invalidateClass, invalidateClass, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObject, invalidateObjects, invalidateObjects, invalidateObjects, invalidateObjects, invalidateQueryCache, isValid, isValid, isValid, isValid, primaryKeyFromVector, printIdentityMap, printIdentityMapLocks, printIdentityMaps, putCacheKeyByIndex, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, putQueryResult, releaseWriteLock, removeFromIdentityMap, removeFromIdentityMap, removeFromIdentityMap, removeFromIdentityMap, setWrapper, updateWriteLockValue, updateWriteLockValue, updateWriteLockValue, validateCache
public 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.
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.initializeAllIdentityMaps
in interface IdentityMapAccessor
initializeAllIdentityMaps
in class IdentityMapAccessor
public IdentityMapManager getIdentityMapManager()
getIdentityMapManager
in class IdentityMapAccessor
public void initializeIdentityMap(java.lang.Class theClass)
initializeIdentityMap
in interface IdentityMapAccessor
initializeIdentityMap
in class IdentityMapAccessor
theClass
- Classpublic void initializeIdentityMaps()
initializeIdentityMaps
in interface IdentityMapAccessor
initializeIdentityMaps
in class IdentityMapAccessor
public void setIdentityMapManager(IdentityMapManager identityMapManager)
setIdentityMapManager
in class IdentityMapAccessor
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference