Top Description Fields Constructors Methods
org.eclipse.persistence.internal.sessions

public Class DistributedSessionIdentityMapAccessor

extends IdentityMapAccessor
Class Inheritance
Imports
org.eclipse.persistence.internal.identitymaps.*, org.eclipse.persistence.internal.sessions.IdentityMapAccessor, org.eclipse.persistence.sessions.remote.*

INTERNAL: Subclass of IdentityMapAccessor for distributed sessions Overrides some IdentityMapInitialization code

Field Summary

Inherited from org.eclipse.persistence.internal.sessions.IdentityMapAccessor:
identityMapManagersession

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
initializeIdentityMapsOnServerSession()

INTERNAL: Flushes the server side cache, because the server cache may be shared, caution should be used in calling this.

Inherited from org.eclipse.persistence.internal.sessions.IdentityMapAccessor:
acquireDeferredLockacquireLockacquireLockacquireLockNoWaitacquireLockWithWaitacquireReadLockOnCacheKeyacquireReadLockOnCacheKeyNoWaitacquireWriteLockclearQueryCacheclearQueryCacheclearQueryCacheclearQueryCachecontainsObjectInIdentityMapcontainsObjectInIdentityMapcontainsObjectInIdentityMapcontainsObjectInIdentityMapextractPrimaryKeyFromRowgetAllCacheKeysFromIdentityMapWithEntityPKgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapWithEntityPKgetCacheKeyByIndexgetCacheKeyForObjectgetCacheKeyForObjectgetCacheKeyForObjectgetCacheKeyForObjectForLockgetClassesRegisteredgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapWithDeferredLockgetFromIdentityMapWithDeferredLockgetFromLocalIdentityMapgetFromLocalIdentityMapWithDeferredLockgetIdentityMapgetIdentityMapgetIdentityMapgetIdentityMapManagergetQueryResultgetRemainingValidTimegetSessiongetWrappergetWriteLockManagergetWriteLockValuegetWriteLockValuegetWriteLockValueinitializeIdentityMapinitializeIdentityMapsinternalPutInIdentityMapinvalidateAllinvalidateClassinvalidateClassinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectsinvalidateObjectsinvalidateObjectsinvalidateObjectsinvalidateQueryCacheisValidisValidisValidprintIdentityMapprintIdentityMapLocksprintIdentityMapsputCacheKeyByIndexputInIdentityMapputInIdentityMapputInIdentityMapputInIdentityMapputInIdentityMapputQueryResultreleaseWriteLockremoveFromIdentityMapremoveFromIdentityMapremoveFromIdentityMapsetIdentityMapManagersetWrapperupdateWriteLockValueupdateWriteLockValuevalidateCache

Constructor Detail

DistributedSessionIdentityMapAccessorback to summary
public DistributedSessionIdentityMapAccessor(AbstractSession session, IdentityMapManager identityMapManager)

Method Detail

initializeAllIdentityMapsback to summary
public void initializeAllIdentityMaps()

Overrides org.eclipse.persistence.internal.sessions.IdentityMapAccessor.initializeAllIdentityMaps.

Implements org.eclipse.persistence.sessions.IdentityMapAccessor.initializeAllIdentityMaps.

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.

Annotations
@Override
initializeIdentityMapsOnServerSessionback to summary
public void initializeIdentityMapsOnServerSession()

INTERNAL: Flushes the server side cache, because the server cache may be shared, caution should be used in calling this.