Package | Description |
---|---|
oracle.toplink.essentials.exceptions | |
oracle.toplink.essentials.internal.identitymaps | |
oracle.toplink.essentials.internal.sessions |
Modifier and Type | Method and Description |
---|---|
static ValidationException |
ValidationException.nullCacheKeyFoundOnRemoval(IdentityMap map,
Class clazz) |
Modifier and Type | Class and Description |
---|---|
class |
CacheIdentityMap
Purpose: A fixed size LRU cache
|
class |
FullIdentityMap
Purpose: A FullIdentityMap holds all objects stored within it for the life of the application
|
class |
HardCacheWeakIdentityMap
Purpose: A weak cache is identical to the weak identity map, however the weak
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 |
NoIdentityMap
Purpose: Provide the capability to not cache objects at all.
|
class |
SoftCacheWeakIdentityMap
Purpose: A weak cache is identical to the weak identity map, however the weak
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 |
WeakIdentityMap
Purpose: A WeakIdentityMap holds all objects referenced by the application only.
|
Modifier and Type | Field and Description |
---|---|
protected IdentityMap |
IdentityMapManager.lastAccessedIdentityMap
Optimize the object retrival from the identity map.
|
protected IdentityMap |
CacheKey.mapOwner |
Modifier and Type | Method and Description |
---|---|
IdentityMap |
IdentityMapManager.buildNewIdentityMap(ClassDescriptor descriptor)
INTERNAL: (Public to allow testing to access)
Return a new empty identity map to cache instances of the class.
|
IdentityMap |
IdentityMapManager.getIdentityMap(ClassDescriptor descriptor)
INTERNAL: (public to allow test cases to check)
Return the identity map for the class, if missing create a new one.
|
IdentityMap |
CacheKey.getOwningMap() |
Modifier and Type | Method and Description |
---|---|
void |
CacheKey.setOwningMap(IdentityMap map) |
Modifier and Type | Method and Description |
---|---|
IdentityMap |
IdentityMapAccessor.getIdentityMap(Class theClass)
INTERNAL:
Get the identity map for the given class from the IdentityMapManager
|
IdentityMap |
IsolatedClientSessionIdentityMapAccessor.getIdentityMap(ClassDescriptor descriptor)
INTERNAL:
Get the identity map for the given class from the IdentityMapManager
|
IdentityMap |
IdentityMapAccessor.getIdentityMap(ClassDescriptor descriptor)
INTERNAL:
Get the identity map for the given class from the IdentityMapManager
|
Copyright © 2022. All rights reserved.