Uses of Class
org.eclipse.persistence.internal.identitymaps.WeakIdentityMap
Package
Description
-
Uses of WeakIdentityMap in org.eclipse.persistence.descriptors
Modifier and TypeFieldDescriptionprotected Class
<? extends WeakIdentityMap> CacheIndex.cacheType
Allows the identity map class type to be set.Modifier and TypeMethodDescription<T extends WeakIdentityMap>
Class<T> CacheIndex.getCacheType()
ADVANCED: Return the type of the cache used for the index.Modifier and TypeMethodDescriptionvoid
CacheIndex.setCacheType
(Class<? extends WeakIdentityMap> cacheType) ADVANCED: Set the type of the cache used for the index. -
Uses of WeakIdentityMap in org.eclipse.persistence.internal.helper
Modifier and TypeFieldDescriptionstatic final Class
<WeakIdentityMap> ClassConstants.WeakIdentityMap_Class
-
Uses of WeakIdentityMap in org.eclipse.persistence.internal.identitymaps
Modifier and TypeClassDescriptionclass
Purpose: 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).class
Purpose: 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).class
Purpose: A SoftIdentityMap holds all objects referenced by the application.