Package org.apache.openjpa.datacache
package org.apache.openjpa.datacache
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
-
ClassDescriptionAbstract
DataCache
implementation that provides various statistics, logging, and timeout functionality common across cache implementations.AbstractQueryCache
implementation that provides various statistics, logging, and timeout functionality common across cache implementations.A default implementation of query statistics for the Query result cache.A policy determines whether a given entity should be cached and if true, in which named partition of the cache.Counts number of read/write requests and hit ratio for a cache in total and per-class basis.The default CacheStatistics(SPI) implementation.The provider extensions to the CacheStatistics interface.Cron-style clearable eviction.ADataCache
implementation that is optimized for concurrent access.AQueryCache
implementation that is optimized for concurrent access.Interface that must be implemented by any level 2 cache used by OpenJPA.Manages the system's data and query caches.Default data cache manager provides handle to utilities PCDataGenerator, ClearableScheduler and CacheDistributionPolicy for the cache operation.SpecializedPCData
implementation for data caching.APCDataGenerator
instance which generates properly synchronized instances suitable for use in the cache.Simple interface to give access to expiration time.SpecializedPCData
implementation for data caching.StoreManager proxy that delegates to a data cache when possible.A default implementation that selects the cache by the type of the given managed instance.Delegating data cache that can also perform exception translation for use in facades.Delegating query cache that can also perform exception translation for use in facades.An event indicating the expiration of an object from the data cache, or an expiration of a result list from the query cache.An entity that wishes to be notified when cache keys expire.A partitioned data cache maintains a set of partitions that are DataCache themselves.Interface that must be implemented by any level 2 query cache used by OpenJPA.AStoreQuery
implementation that caches the OIDs involved in the query, and can determine whether or not the query has been dirtied.Result list implementation for a cached query result.This class stores information about a particular invocation of a query.A query result.A cache distribution policy based on the type of the managed objects.An event indicating that instances of given persistent types have been modified.An entity that wishes to be notified when types change.