Uses of Class
org.eclipse.persistence.internal.identitymaps.WeakIdentityMap
Packages that use WeakIdentityMap
Package
Description
-
Uses of WeakIdentityMap in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors with type parameters of type WeakIdentityMapModifier and TypeFieldDescriptionprotected Class
<? extends WeakIdentityMap> CacheIndex.cacheType
Allows the identity map class type to be set.Methods in org.eclipse.persistence.descriptors with type parameters of type WeakIdentityMapModifier and TypeMethodDescription<T extends WeakIdentityMap>
Class<T> CacheIndex.getCacheType()
ADVANCED: Return the type of the cache used for the index.Method parameters in org.eclipse.persistence.descriptors with type arguments of type WeakIdentityMapModifier 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
Fields in org.eclipse.persistence.internal.helper with type parameters of type WeakIdentityMapModifier and TypeFieldDescriptionstatic final Class
<WeakIdentityMap> ClassConstants.WeakIdentityMap_Class
-
Uses of WeakIdentityMap in org.eclipse.persistence.internal.identitymaps
Subclasses of WeakIdentityMap in org.eclipse.persistence.internal.identitymapsModifier 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.