| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
ExecutionContextImpl.getObjectFromLevel2CacheForUnique(CacheUniqueKey uniKey)
Convenience method to access the identity that corresponds to a unique key, in the Level 2 cache. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Map<CacheUniqueKey,CachedPC> | 
AbstractReferencedLevel2Cache.uniqueKeyCache
Unique Key cache. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
CacheUniqueKey.compareTo(CacheUniqueKey o)  | 
boolean | 
CacheUniqueKey.equals(CacheUniqueKey other)  | 
default CachedPC | 
Level2Cache.getUnique(CacheUniqueKey key)
Method to retrieve the id represented by the specified unique key. 
 | 
ObjectProvider | 
StrongRefCache.getUnique(CacheUniqueKey key)  | 
CachedPC | 
JavaxCacheLevel2Cache.getUnique(CacheUniqueKey key)  | 
ObjectProvider | 
SoftRefCache.getUnique(CacheUniqueKey key)  | 
CachedPC | 
AbstractReferencedLevel2Cache.getUnique(CacheUniqueKey key)  | 
ObjectProvider | 
WeakRefCache.getUnique(CacheUniqueKey key)  | 
ObjectProvider | 
Level1Cache.getUnique(CacheUniqueKey key)
Method to retrieve the ObjectProvider for the specified unique key. 
 | 
default CachedPC | 
Level2Cache.putUnique(CacheUniqueKey key,
         CachedPC pc)
Method to store a persistable object for this unique key. 
 | 
CachedPC | 
JavaxCacheLevel2Cache.putUnique(CacheUniqueKey key,
         CachedPC pc)  | 
CachedPC | 
AbstractReferencedLevel2Cache.putUnique(CacheUniqueKey key,
         CachedPC pc)  | 
Object | 
StrongRefCache.putUnique(CacheUniqueKey key,
         ObjectProvider op)  | 
Object | 
SoftRefCache.putUnique(CacheUniqueKey key,
         ObjectProvider op)  | 
Object | 
WeakRefCache.putUnique(CacheUniqueKey key,
         ObjectProvider op)  | 
Object | 
Level1Cache.putUnique(CacheUniqueKey key,
         ObjectProvider op)
Method to store an ObjectProvider for this unique key. 
 | 
default void | 
Level2Cache.removeUnique(CacheUniqueKey key)
Method to remove any object cached against the provided unique key. 
 | 
void | 
JavaxCacheLevel2Cache.removeUnique(CacheUniqueKey key)  | 
void | 
AbstractReferencedLevel2Cache.removeUnique(CacheUniqueKey key)  | 
| Modifier and Type | Method and Description | 
|---|---|
default void | 
Level2Cache.putUniqueAll(Map<CacheUniqueKey,CachedPC> objs)
Method to put several objects into the cache. 
 | 
void | 
JavaxCacheLevel2Cache.putUniqueAll(Map<CacheUniqueKey,CachedPC> objs)  | 
void | 
AbstractReferencedLevel2Cache.putUniqueAll(Map<CacheUniqueKey,CachedPC> objs)  | 
Copyright © 2020. All rights reserved.