Uses of Class
org.datanucleus.cache.CachedPC
Packages that use CachedPC
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.
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 CachedPCModifier and TypeMethodDescriptionprotected 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 CachedPCModifier and TypeMethodDescriptionprotected 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 declared as CachedPCModifier and TypeFieldDescription(package private) CachedPC
L2CachePopulateFieldManager.cachedPC
CachedPC that we are copying values into.(package private) CachedPC
L2CacheRetrieveFieldManager.cachedPC
CachedPC that we are taking values from.Fields in org.datanucleus.cache with type parameters of type CachedPCModifier and TypeFieldDescriptionAbstractReferencedLevel2Cache.pinnedCache
Pinned objects cache.protected Map
<CacheUniqueKey, CachedPC> AbstractReferencedLevel2Cache.uniqueKeyCache
Unique Key cache.AbstractReferencedLevel2Cache.unpinnedCache
Unpinned objects cache.Methods in org.datanucleus.cache that return CachedPCModifier and TypeMethodDescriptionprotected CachedPC
L2CachePopulateFieldManager.convertPersistableToCachedPC
(Object pc) Method to convert an embedded/serialised object to a CachedPC object for L2 caching.Accessor for an object from the cache.Accessor for an object in the cache.Accessor for an object from the cache.Accessor for an object from the cacheCachedPC.getCopy()
AbstractReferencedLevel2Cache.getUnique
(CacheUniqueKey key) JavaxCacheLevel2Cache.getUnique
(CacheUniqueKey key) default CachedPC
Level2Cache.getUnique
(CacheUniqueKey key) Method to retrieve the id represented by the specified unique key.Method to put an object in the cache.Method to add an object to the cache under its idMethod to put an object in the cache.Method to put an object in the L2 cacheAbstractReferencedLevel2Cache.putUnique
(CacheUniqueKey key, CachedPC pc) 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 CachedPCModifier and TypeMethodDescriptionAbstractReferencedLevel2Cache.getAll
(Collection oids) JavaxCacheLevel2Cache.getAll
(Collection oids) Level2Cache.getAll
(Collection oids) Accessor for a collection of objects from the cache.Methods in org.datanucleus.cache with parameters of type CachedPCModifier and TypeMethodDescriptionint
private Object
L2CacheRetrieveFieldManager.convertCachedPCToPersistable
(CachedPC cachedPC, int memberNumber, PersistableObjectType objectType) Method to convert a nested (i.e embedded) CachedPC back to the persistable object it represents.Method to put an object in the cache.Method to add an object to the cache under its idMethod to put an object in the cache.Method to put an object in the L2 cacheAbstractReferencedLevel2Cache.putUnique
(CacheUniqueKey key, CachedPC pc) 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 CachedPCModifier and TypeMethodDescriptionvoid
void
default void
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 CachedPCModifierConstructorDescriptionL2CachePopulateFieldManager
(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 CachedPCModifier and TypeMethodDescriptionvoid
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)