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 CacheUniqueKeyExecutionContextImpl.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 PersistableExecutionContextImpl.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
Classes in org.datanucleus.cache that implement interfaces with type arguments of type CacheUniqueKeyModifier and TypeClassDescriptionclassKey representing a unique key for a persistable object.Fields in org.datanucleus.cache with type parameters of type CacheUniqueKeyModifier and TypeFieldDescriptionprivate Map<CacheUniqueKey, DNStateManager> StrongRefCache.cacheUniqueprivate Map<CacheUniqueKey, DNStateManager> SoftRefCache.softCacheUniqueprotected Map<CacheUniqueKey, CachedPC> AbstractReferencedLevel2Cache.uniqueKeyCacheUnique Key cache.private Map<CacheUniqueKey, DNStateManager> WeakRefCache.weakCacheUniqueMethods in org.datanucleus.cache with parameters of type CacheUniqueKeyModifier and TypeMethodDescriptionintCacheUniqueKey.compareTo(CacheUniqueKey o) booleanCacheUniqueKey.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 CachedPCLevel2Cache.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 CachedPCLevel2Cache.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) voidAbstractReferencedLevel2Cache.removeUnique(CacheUniqueKey key) voidJavaxCacheLevel2Cache.removeUnique(CacheUniqueKey key) default voidLevel2Cache.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 TypeMethodDescriptionvoidAbstractReferencedLevel2Cache.putUniqueAll(Map<CacheUniqueKey, CachedPC> objs) voidJavaxCacheLevel2Cache.putUniqueAll(Map<CacheUniqueKey, CachedPC> objs) default voidLevel2Cache.putUniqueAll(Map<CacheUniqueKey, CachedPC> objs) Method to put several objects into the cache.