Uses of Interface
org.eclipse.persistence.internal.identitymaps.IdentityMap
-
-
Uses of IdentityMap in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors with type parameters of type IdentityMap Modifier and Type Field Description protected Class<? extends IdentityMap>CachePolicy. identityMapClassprotected Class<? extends IdentityMap>CachePolicy. remoteIdentityMapClassMethods in org.eclipse.persistence.descriptors with type parameters of type IdentityMap Modifier and Type Method Description <T extends IdentityMap>
Class<T>CachePolicy. getIdentityMapClass()INTERNAL: Return the class of identity map to be used by this descriptor.<T extends IdentityMap>
Class<T>ClassDescriptor. getIdentityMapClass()INTERNAL: Return the class of identity map to be used by this descriptor.<T extends IdentityMap>
Class<T>CachePolicy. getRemoteIdentityMapClass()INTERNAL: Return the class of identity map to be used by this descriptor.<T extends IdentityMap>
Class<T>ClassDescriptor. getRemoteIdentityMapClass()INTERNAL: Return the class of identity map to be used by this descriptor.Method parameters in org.eclipse.persistence.descriptors with type arguments of type IdentityMap Modifier and Type Method Description voidCachePolicy. setIdentityMapClass(Class<? extends IdentityMap> theIdentityMapClass)PUBLIC: Set the class of identity map to be used by this descriptor.voidClassDescriptor. setIdentityMapClass(Class<? extends IdentityMap> theIdentityMapClass)PUBLIC: Set the class of identity map to be used by this descriptor.voidCachePolicy. setRemoteIdentityMapClass(Class<? extends IdentityMap> theIdentityMapClass)PUBLIC: Set the class of identity map to be used by this descriptor.voidClassDescriptor. setRemoteIdentityMapClass(Class<? extends IdentityMap> theIdentityMapClass)PUBLIC: Set the class of identity map to be used by this descriptor. -
Uses of IdentityMap in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type IdentityMap Modifier and Type Method Description static ValidationExceptionValidationException. nullCacheKeyFoundOnRemoval(IdentityMap map, Object clazz) -
Uses of IdentityMap in org.eclipse.persistence.internal.identitymaps
Classes in org.eclipse.persistence.internal.identitymaps that implement IdentityMap Modifier and Type Class Description classAbstractIdentityMapPurpose: Caches objects, and allows their retrieval by their primary key.classCacheIdentityMapPurpose: A fixed size LRU cacheclassFullIdentityMapPurpose: A FullIdentityMap holds all objects stored within it for the life of the application.classHardCacheWeakIdentityMapPurpose: A HardCacheWeakIdentityMap is identical to the weak identity map, however the weak reference can be a performance problem for some types of apps because it can cause too much garbage collection of objects read causing them to be re-read and re-built (this defeats the purpose of the cache).classNoIdentityMapPurpose: Provide the capability to not cache objects at all.classSoftCacheWeakIdentityMapPurpose: A SoftCacheWeakIdentityMap is identical to the WeakIdentityMap, however the weak reference can be a performance problem for some types of apps because it can cause too much garbage collection of objects read causing them to be re-read and re-built (this defeats the purpose of the cache).classSoftIdentityMapPurpose: A SoftIdentityMap holds all objects referenced by the application.classUnitOfWorkIdentityMapUnit of work specific identity map which avoid additional overhead not required in unit of work, such as locking and synchronization.classWeakIdentityMapPurpose: A WeakIdentityMap holds all objects referenced by the application only.classWeakUnitOfWorkIdentityMapFields in org.eclipse.persistence.internal.identitymaps declared as IdentityMap Modifier and Type Field Description protected IdentityMapIdentityMapManager. lastAccessedIdentityMapPERF: Optimize the object retrieval from the identity map.protected IdentityMapCacheKey. mapOwnerFields in org.eclipse.persistence.internal.identitymaps with type parameters of type IdentityMap Modifier and Type Field Description protected Map<CacheIndex,IdentityMap>IdentityMapManager. cacheIndexesA map of indexes on the cache.protected Map<Class<?>,IdentityMap>IdentityMapManager. identityMapsA table of identity maps with the key being the domain Class.protected Map<Object,IdentityMap>IdentityMapManager. queryResultsA table of identity maps with the key being the queryMethods in org.eclipse.persistence.internal.identitymaps with type parameters of type IdentityMap Modifier and Type Method Description protected <T extends IdentityMap>
IdentityMapIdentityMapManager. buildNewIdentityMap(Class<T> identityMapClass, int size, ClassDescriptor descriptor, boolean isIsolated)INTERNAL: Return a new empty identity map of the class type.Methods in org.eclipse.persistence.internal.identitymaps that return IdentityMap Modifier and Type Method Description protected <T extends IdentityMap>
IdentityMapIdentityMapManager. buildNewIdentityMap(Class<T> identityMapClass, int size, ClassDescriptor descriptor, boolean isIsolated)INTERNAL: Return a new empty identity map of the class type.IdentityMapIdentityMapManager. buildNewIdentityMap(ClassDescriptor descriptor)INTERNAL: (Public to allow testing to access) Return a new empty identity map to cache instances of the class.IdentityMapIdentityMapManager. getIdentityMap(ClassDescriptor descriptor)INTERNAL: Return the identity map for the class, if missing create a new one.IdentityMapIdentityMapManager. getIdentityMap(ClassDescriptor descriptor, boolean returnNullIfNoMap)INTERNAL: Return the identity map for the class.IdentityMapCacheKey. getOwningMap()Methods in org.eclipse.persistence.internal.identitymaps that return types with arguments of type IdentityMap Modifier and Type Method Description static Class<? extends IdentityMap>AbstractIdentityMap. getDefaultIdentityMapClass()Returns the class which should be used as an identity map in a descriptor by default.protected Map<Class<?>,IdentityMap>IdentityMapManager. getIdentityMaps()Methods in org.eclipse.persistence.internal.identitymaps with parameters of type IdentityMap Modifier and Type Method Description voidCacheKey. setOwningMap(IdentityMap map) -
Uses of IdentityMap in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions that return IdentityMap Modifier and Type Method Description IdentityMapIdentityMapAccessor. getIdentityMap(Class<?> theClass)INTERNAL: (public to allow test cases to check) Return the identity map for the class, if missing create a new one.IdentityMapIdentityMapAccessor. getIdentityMap(ClassDescriptor descriptor)INTERNAL: Get the identity map for the given class from the IdentityMapManagerIdentityMapIdentityMapAccessor. getIdentityMap(ClassDescriptor descriptor, boolean returnNullIfMissing)INTERNAL: Get the identity map for the given class from the IdentityMapManagerIdentityMapIsolatedClientSessionIdentityMapAccessor. getIdentityMap(ClassDescriptor descriptor, boolean returnNullIfMissing)INTERNAL: Get the identity map for the given class from the IdentityMapManager -
Uses of IdentityMap in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries with type parameters of type IdentityMap Modifier and Type Field Description protected Class<? extends IdentityMap>QueryResultsCachePolicy. cacheTypeAllows the identity map class type to be set.Methods in org.eclipse.persistence.queries that return types with arguments of type IdentityMap Modifier and Type Method Description Class<? extends IdentityMap>QueryResultsCachePolicy. getCacheType()PUBLIC: Return the type of the cache used for the query results.Method parameters in org.eclipse.persistence.queries with type arguments of type IdentityMap Modifier and Type Method Description voidQueryResultsCachePolicy. setCacheType(Class<? extends IdentityMap> cacheType)PUBLIC: Set the type of the cache used for the query results. -
Uses of IdentityMap in org.eclipse.persistence.sessions
Fields in org.eclipse.persistence.sessions with type parameters of type IdentityMap Modifier and Type Field Description protected Class<? extends IdentityMap>Project. defaultIdentityMapClassDefault value for ClassDescriptor.identityMapClass.Methods in org.eclipse.persistence.sessions that return types with arguments of type IdentityMap Modifier and Type Method Description Class<? extends IdentityMap>Project. getDefaultIdentityMapClass()PUBLIC: Return default value for descriptor cache type.Method parameters in org.eclipse.persistence.sessions with type arguments of type IdentityMap Modifier and Type Method Description voidProject. setDefaultIdentityMapClass(Class<? extends IdentityMap> defaultIdentityMapClass)PUBLIC: Set default value for descriptor cache type. -
Uses of IdentityMap in org.eclipse.persistence.sessions.interceptors
Classes in org.eclipse.persistence.sessions.interceptors that implement IdentityMap Modifier and Type Class Description classCacheInterceptorPurpose: Define a class through which Cache access can be intercepted.Fields in org.eclipse.persistence.sessions.interceptors declared as IdentityMap Modifier and Type Field Description protected IdentityMapCacheInterceptor. targetIdentityMapThis attribute stores the actual IdentityMap as configured by the user.Methods in org.eclipse.persistence.sessions.interceptors that return IdentityMap Modifier and Type Method Description IdentityMapCacheKeyInterceptor. getOwningMap()IdentityMapCacheInterceptor. getTargetIdenttyMap()Return the instance of the IdentityMap that this intercpetor is wrapping.Constructors in org.eclipse.persistence.sessions.interceptors with parameters of type IdentityMap Constructor Description CacheInterceptor(IdentityMap targetIdentityMap, AbstractSession interceptedSession)
-