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

public Class ClientSessionIdentityMapAccessor

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

INTERNAL: IdentityMapAccessor subclass for client sessions.

Note

A client session will always use it's parent session's IdentityMapManager

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
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

Method Summary

Modifier and TypeMethod and Description
public IdentityMapManager
getIdentityMapManager()

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

INTERNAL: Return the IdentityMapManager for the client session.
public void
public void
initializeIdentityMap(Class<?>
Class
theClass
)

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

Implements org.eclipse.persistence.sessions.IdentityMapAccessor.initializeIdentityMap.

INTERNAL: The client session does not have a local identity map, so this has no effect and should not be used.
public void
initializeIdentityMaps()

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

Implements org.eclipse.persistence.sessions.IdentityMapAccessor.initializeIdentityMaps.

INTERNAL: The client session does not have a local identity map, so this has no effect and should not be used.
public void
setIdentityMapManager(IdentityMapManager identityMapManager)

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

INTERNAL: The identity map manager cannot be set on a client session since it looks at it's parent session's identity map manager.
Inherited from org.eclipse.persistence.internal.sessions.IdentityMapAccessor:
acquireDeferredLockacquireLockacquireLockacquireLockNoWaitacquireLockWithWaitacquireReadLockOnCacheKeyacquireReadLockOnCacheKeyNoWaitacquireWriteLockclearQueryCacheclearQueryCacheclearQueryCacheclearQueryCachecontainsObjectInIdentityMapcontainsObjectInIdentityMapcontainsObjectInIdentityMapcontainsObjectInIdentityMapextractPrimaryKeyFromRowgetAllCacheKeysFromIdentityMapWithEntityPKgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapgetAllFromIdentityMapWithEntityPKgetCacheKeyByIndexgetCacheKeyForObjectgetCacheKeyForObjectgetCacheKeyForObjectgetCacheKeyForObjectForLockgetClassesRegisteredgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapgetFromIdentityMapWithDeferredLockgetFromIdentityMapWithDeferredLockgetFromLocalIdentityMapgetFromLocalIdentityMapWithDeferredLockgetIdentityMapgetIdentityMapgetIdentityMapgetQueryResultgetRemainingValidTimegetSessiongetWrappergetWriteLockManagergetWriteLockValuegetWriteLockValuegetWriteLockValueinternalPutInIdentityMapinvalidateAllinvalidateClassinvalidateClassinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectinvalidateObjectsinvalidateObjectsinvalidateObjectsinvalidateObjectsinvalidateQueryCacheisValidisValidisValidprintIdentityMapprintIdentityMapLocksprintIdentityMapsputCacheKeyByIndexputInIdentityMapputInIdentityMapputInIdentityMapputInIdentityMapputInIdentityMapputQueryResultreleaseWriteLockremoveFromIdentityMapremoveFromIdentityMapremoveFromIdentityMapsetWrapperupdateWriteLockValueupdateWriteLockValuevalidateCache

Constructor Detail

ClientSessionIdentityMapAccessorback to summary
public 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

Method Detail

getIdentityMapManagerback to summary
public IdentityMapManager getIdentityMapManager()

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

INTERNAL: Return the IdentityMapManager for the client session. This overrides the IdentityMapAccessor version of getIdentityMapManager to return the parent session's IdentityMapManager

Annotations
@Override
initializeAllIdentityMapsback to summary
public void initializeAllIdentityMaps()

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

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

INTERNAL: Was PUBLIC: customer will be redirected to org.eclipse.persistence.sessions.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.

Annotations
@Override
initializeIdentityMapback to summary
public void initializeIdentityMap(Class<?> theClass)

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

Implements org.eclipse.persistence.sessions.IdentityMapAccessor.initializeIdentityMap.

INTERNAL: The client session does not have a local identity map, so this has no effect and should not be used.

Parameters
theClass:Class<?>

Doc from org.eclipse.persistence.sessions.IdentityMapAccessor.initializeIdentityMap.

Class

Annotations
@Override
initializeIdentityMapsback to summary
public void initializeIdentityMaps()

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

Implements org.eclipse.persistence.sessions.IdentityMapAccessor.initializeIdentityMaps.

INTERNAL: The client session does not have a local identity map, so this has no effect and should not be used.

Annotations
@Override
setIdentityMapManagerback to summary
public void setIdentityMapManager(IdentityMapManager identityMapManager)

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

INTERNAL: The identity map manager cannot be set on a client session since it looks at it's parent session's identity map manager.

Annotations
@Override