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 CachedPCExecutionContextImpl.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 CachedPCExecutionContextImpl.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
Classes in org.datanucleus.cache that implement interfaces with type arguments of type CachedPCModifier and TypeClassDescriptionclassAn object that is stored in the Level2 Cache keyed by the identity of the persistable object.Fields in org.datanucleus.cache declared as CachedPCModifier and TypeFieldDescription(package private) CachedPCL2CachePopulateFieldManager.cachedPCCachedPC that we are copying values into.(package private) CachedPCL2CacheRetrieveFieldManager.cachedPCCachedPC that we are taking values from.Fields in org.datanucleus.cache with type parameters of type CachedPCModifier and TypeFieldDescriptionAbstractReferencedLevel2Cache.pinnedCachePinned objects cache.protected Map<CacheUniqueKey, CachedPC> AbstractReferencedLevel2Cache.uniqueKeyCacheUnique Key cache.AbstractReferencedLevel2Cache.unpinnedCacheUnpinned objects cache.Methods in org.datanucleus.cache that return CachedPCModifier and TypeMethodDescriptionprotected CachedPCL2CachePopulateFieldManager.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 CachedPCLevel2Cache.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 CachedPCLevel2Cache.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 TypeMethodDescriptionintprivate ObjectL2CacheRetrieveFieldManager.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 CachedPCLevel2Cache.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 TypeMethodDescriptionvoidvoiddefault voidMethod to put several objects into the cache.voidAbstractReferencedLevel2Cache.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.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 TypeMethodDescriptionvoidDNStateManager.initialiseForCachedPC(CachedPC cachedPC, Object id) Initialise StateManager, assigning the specified id to the object.voidStateManagerImpl.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)