Uses of Class
org.datanucleus.cache.CacheUniqueKey
Packages that use CacheUniqueKey
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
This package provides classes implementing L1/L2 persistable object caching within DataNucleus.
-
Uses of CacheUniqueKey in org.datanucleus
Methods in org.datanucleus that return CacheUniqueKeyModifier and TypeMethodDescriptionprivate CacheUniqueKey
ExecutionContextImpl.getCacheUniqueKeyForStateManager
(DNStateManager sm, UniqueMetaData unimd) Method to return a CacheUniqueKey to use when caching the object managed by the supplied StateManager for the specified unique key.Methods in org.datanucleus with parameters of type CacheUniqueKeyModifier and TypeMethodDescriptionprotected Persistable
ExecutionContextImpl.getObjectFromLevel2CacheForUnique
(CacheUniqueKey uniKey) Convenience method to access the identity that corresponds to a unique key, in the Level 2 cache. -
Uses of CacheUniqueKey in org.datanucleus.cache
Fields in org.datanucleus.cache with type parameters of type CacheUniqueKeyModifier and TypeFieldDescriptionprivate Map
<CacheUniqueKey, DNStateManager> StrongRefCache.cacheUnique
private Map
<CacheUniqueKey, DNStateManager> SoftRefCache.softCacheUnique
protected Map
<CacheUniqueKey, CachedPC> AbstractReferencedLevel2Cache.uniqueKeyCache
Unique Key cache.private Map
<CacheUniqueKey, DNStateManager> WeakRefCache.weakCacheUnique
Methods in org.datanucleus.cache with parameters of type CacheUniqueKeyModifier and TypeMethodDescriptionint
CacheUniqueKey.compareTo
(CacheUniqueKey o) boolean
CacheUniqueKey.equals
(CacheUniqueKey other) AbstractReferencedLevel2Cache.getUnique
(CacheUniqueKey key) JavaxCacheLevel2Cache.getUnique
(CacheUniqueKey key) Level1Cache.getUnique
(CacheUniqueKey key) Method to retrieve StateManager for the specified unique key.default CachedPC
Level2Cache.getUnique
(CacheUniqueKey key) Method to retrieve the id represented by the specified unique key.SoftRefCache.getUnique
(CacheUniqueKey key) StrongRefCache.getUnique
(CacheUniqueKey key) WeakRefCache.getUnique
(CacheUniqueKey key) AbstractReferencedLevel2Cache.putUnique
(CacheUniqueKey key, CachedPC pc) JavaxCacheLevel2Cache.putUnique
(CacheUniqueKey key, CachedPC pc) Level1Cache.putUnique
(CacheUniqueKey key, DNStateManager sm) Method to store a StateManager for this unique key.default CachedPC
Level2Cache.putUnique
(CacheUniqueKey key, CachedPC pc) Method to store a persistable object for this unique key.SoftRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) StrongRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) WeakRefCache.putUnique
(CacheUniqueKey key, DNStateManager sm) void
AbstractReferencedLevel2Cache.removeUnique
(CacheUniqueKey key) void
JavaxCacheLevel2Cache.removeUnique
(CacheUniqueKey key) default void
Level2Cache.removeUnique
(CacheUniqueKey key) Method to remove any object cached against the provided unique key.Method parameters in org.datanucleus.cache with type arguments of type CacheUniqueKeyModifier and TypeMethodDescriptionvoid
AbstractReferencedLevel2Cache.putUniqueAll
(Map<CacheUniqueKey, CachedPC> objs) void
JavaxCacheLevel2Cache.putUniqueAll
(Map<CacheUniqueKey, CachedPC> objs) default void
Level2Cache.putUniqueAll
(Map<CacheUniqueKey, CachedPC> objs) Method to put several objects into the cache.