Uses of Class
org.datanucleus.cache.CacheUniqueKey
-
Packages that use CacheUniqueKey Package Description org.datanucleus This package provides classes that are typically externally called, whether that means by developers or by other DataNucleus plugins.org.datanucleus.cache This package provides classes implementing L1/L2 persistable object caching within DataNucleus. -
-
Uses of CacheUniqueKey in org.datanucleus
Methods in org.datanucleus with parameters of type CacheUniqueKey Modifier and Type Method Description protected 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 CacheUniqueKey Modifier and Type Field Description protected Map<CacheUniqueKey,CachedPC>
AbstractReferencedLevel2Cache. uniqueKeyCache
Unique Key cache.Methods in org.datanucleus.cache with parameters of type CacheUniqueKey Modifier and Type Method Description int
CacheUniqueKey. compareTo(CacheUniqueKey o)
boolean
CacheUniqueKey. equals(CacheUniqueKey other)
CachedPC
AbstractReferencedLevel2Cache. getUnique(CacheUniqueKey key)
CachedPC
JavaxCacheLevel2Cache. getUnique(CacheUniqueKey key)
DNStateManager
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.DNStateManager
SoftRefCache. getUnique(CacheUniqueKey key)
DNStateManager
StrongRefCache. getUnique(CacheUniqueKey key)
DNStateManager
WeakRefCache. getUnique(CacheUniqueKey key)
CachedPC
AbstractReferencedLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
CachedPC
JavaxCacheLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
Object
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.Object
SoftRefCache. putUnique(CacheUniqueKey key, DNStateManager sm)
Object
StrongRefCache. putUnique(CacheUniqueKey key, DNStateManager sm)
Object
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 CacheUniqueKey Modifier and Type Method Description void
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.
-