Package org.apache.ojb.broker.cache

This package provides classes for caching of objects materialized from a datastore.

See:
          Description

Interface Summary
ObjectCache The ObjectCache stores all Objects loaded by the PersistenceBroker from a DB.
ObjectCacheInternal Internal used extension of the ObjectCache.
ObjectCacheTwoLevelImpl.CopyStrategy  
 

Class Summary
AbstractMetaCache An abstract 'meta' implementation of the ObjectCache interace.
MaterializationCache A wrapper class for ObjectCache implementations used to materialize object graphs and push the fully materialized object to the real object cache.
ObjectCacheDefaultImpl This global ObjectCache stores all Objects loaded by the PersistenceBroker from a DB using a static Map.
ObjectCacheEmptyImpl This is an 'empty' ObjectCache implementation.
ObjectCacheFactory Factory for ObjectCache implementation classes.
ObjectCacheJCSImpl This local ObjectCache implementation using turbine-JCS to cache objects is primarily for intern use in conjunction with ObjectCacheJCSPerClassImpl implementation.
ObjectCacheJCSPerClassImpl A global ObjectCache implementation using a JCS region for each class.
ObjectCacheLocalDefaultImpl Simple, flexible local ObjectCache implementation using a HashMap to cache given objects.
ObjectCachePerBrokerImpl This local ObjectCache implementation allows to have dedicated caches per broker.
ObjectCachePerClassImpl Global ObjectCache implementation.
ObjectCacheSoftImpl A global ObjectCache implementation.
ObjectCacheSoftImpl.SoftHashMap Kind of map using SoftReference to store values
ObjectCacheTwoLevelImpl A two-level ObjectCache implementation with a session- and an application cache.
ObjectCacheTwoLevelImpl.CopyStrategyImpl  
 

Exception Summary
RuntimeCacheException  
 

Package org.apache.ojb.broker.cache Description

This package provides classes for caching of objects materialized from a datastore.

Applications use the ObjectCacheFactory to create new ObjectCaches. These caches supply methods for storing and retrieving objects. Objects can be looked up by their identity which is represented by the class Identiy. Each implementation of ObjectCache represents a different caching strategy.



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30