Uses of Class
org.datanucleus.cache.CachedPC
-
Packages that use CachedPC 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.org.datanucleus.state Provides classes relating to the life cycle state management of a persistable object. -
-
Uses of CachedPC in org.datanucleus
Methods in org.datanucleus that return CachedPC Modifier and Type Method Description protected CachedPC
ExecutionContextImpl. getL2CacheableObject(DNStateManager sm, CachedPC currentCachedPC)
Convenience method to convert the object managed by StateManager into a form suitable for caching in an L2 cache.Methods in org.datanucleus with parameters of type CachedPC Modifier and Type Method Description protected CachedPC
ExecutionContextImpl. getL2CacheableObject(DNStateManager sm, CachedPC currentCachedPC)
Convenience method to convert the object managed by StateManager into a form suitable for caching in an L2 cache. -
Uses of CachedPC in org.datanucleus.cache
Fields in org.datanucleus.cache with type parameters of type CachedPC Modifier and Type Field Description protected Map<Object,CachedPC>
AbstractReferencedLevel2Cache. pinnedCache
Pinned objects cache.protected Map<CacheUniqueKey,CachedPC>
AbstractReferencedLevel2Cache. uniqueKeyCache
Unique Key cache.protected Map<Object,CachedPC>
AbstractReferencedLevel2Cache. unpinnedCache
Unpinned objects cache.Methods in org.datanucleus.cache that return CachedPC Modifier and Type Method Description protected CachedPC
L2CachePopulateFieldManager. convertPersistableToCachedPC(Object pc)
Method to convert an embedded/serialised object to a CachedPC object for L2 caching.CachedPC
AbstractReferencedLevel2Cache. get(Object oid)
Accessor for an object from the cache.CachedPC
JavaxCacheLevel2Cache. get(Object oid)
Accessor for an object in the cache.CachedPC
Level2Cache. get(Object oid)
Accessor for an object from the cache.CachedPC
NullLevel2Cache. get(Object oid)
Accessor for an object from the cacheCachedPC
CachedPC. getCopy()
CachedPC
AbstractReferencedLevel2Cache. getUnique(CacheUniqueKey key)
CachedPC
JavaxCacheLevel2Cache. getUnique(CacheUniqueKey key)
default CachedPC
Level2Cache. getUnique(CacheUniqueKey key)
Method to retrieve the id represented by the specified unique key.CachedPC
AbstractReferencedLevel2Cache. put(Object oid, CachedPC pc)
Method to put an object in the cache.CachedPC
JavaxCacheLevel2Cache. put(Object oid, CachedPC pc)
Method to add an object to the cache under its idCachedPC
Level2Cache. put(Object oid, CachedPC pc)
Method to put an object in the cache.CachedPC
NullLevel2Cache. put(Object oid, CachedPC pc)
Method to put an object in the L2 cacheCachedPC
AbstractReferencedLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
CachedPC
JavaxCacheLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
default CachedPC
Level2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
Method to store a persistable object for this unique key.Methods in org.datanucleus.cache that return types with arguments of type CachedPC Modifier and Type Method Description Map<Object,CachedPC>
AbstractReferencedLevel2Cache. getAll(Collection oids)
Map<Object,CachedPC>
JavaxCacheLevel2Cache. getAll(Collection oids)
default Map<Object,CachedPC>
Level2Cache. getAll(Collection oids)
Accessor for a collection of objects from the cache.Methods in org.datanucleus.cache with parameters of type CachedPC Modifier and Type Method Description int
CachedPC. compareTo(CachedPC other)
CachedPC
AbstractReferencedLevel2Cache. put(Object oid, CachedPC pc)
Method to put an object in the cache.CachedPC
JavaxCacheLevel2Cache. put(Object oid, CachedPC pc)
Method to add an object to the cache under its idCachedPC
Level2Cache. put(Object oid, CachedPC pc)
Method to put an object in the cache.CachedPC
NullLevel2Cache. put(Object oid, CachedPC pc)
Method to put an object in the L2 cacheCachedPC
AbstractReferencedLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
CachedPC
JavaxCacheLevel2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
default CachedPC
Level2Cache. putUnique(CacheUniqueKey key, CachedPC pc)
Method to store a persistable object for this unique key.Method parameters in org.datanucleus.cache with type arguments of type CachedPC Modifier and Type Method Description void
AbstractReferencedLevel2Cache. putAll(Map<Object,CachedPC> objs)
void
JavaxCacheLevel2Cache. putAll(Map<Object,CachedPC> objs)
default void
Level2Cache. putAll(Map<Object,CachedPC> objs)
Method to put several objects into the cache.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.Constructors in org.datanucleus.cache with parameters of type CachedPC Constructor Description L2CachePopulateFieldManager(DNStateManager sm, CachedPC cachedpc)
L2CacheRetrieveFieldManager(DNStateManager sm, CachedPC cachedpc)
-
Uses of CachedPC in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type CachedPC Modifier and Type Method Description void
DNStateManager. initialiseForCachedPC(CachedPC cachedPC, Object id)
Initialise StateManager, assigning the specified id to the object.void
StateManagerImpl. initialiseForCachedPC(CachedPC cachedPC, Object id)
Initialise StateManager, assigning the specified id to the object.<T> DNStateManager<T>
StateManagerFactory. newForCachedPC(ExecutionContext ec, Object id, CachedPC cachedPC)
Constructor to create a StateManager for an object taken from the L2 cache with the specified id.<T> DNStateManager<T>
StateManagerFactoryImpl. newForCachedPC(ExecutionContext ec, Object id, CachedPC cachedPC)
-