Home » oscache-2.4.1-full » com.opensymphony.oscache » base »

com.opensymphony.oscache.base

Sub Packages:

com.opensymphony.oscache.base.algorithm   Provides the classes that implement the caching algorithms used by OSCache, all of which are based on a derivative of Doug Lea's ConcurrentReaderHashMap .  
com.opensymphony.oscache.base.events   Provides the base classes and interfaces that allow pluggable event handlers to be incorporated into OSCache.  
com.opensymphony.oscache.base.persistence   Provides the interfaces that provide persistence storage of cached objects.  

Interfaces:

EntryRefreshPolicy   Interface that allows custom code to be called when checking to see if a cache entry has expired.  code | html
LifecycleAware   Event handlers implement this so they can be notified when a cache is created and also when it is destroyed.  code | html

Abstract Classes:

AbstractCacheAdministrator   An AbstractCacheAdministrator defines an abstract cache administrator, implementing all the basic operations related to the configuration of a cache, including assigning any configured event handlers to cache objects.

Extend this class to implement a custom cache administrator. 

code | html
TestAbstractCacheAdministrator   Test class for the AbstractCacheAdministrator class.  code | html

Classes:

Cache   Provides an interface to the cache itself.  code | html
CacheEntry   A CacheEntry instance represents one entry in the cache.  code | html
Client     code | html
Config   Responsible for holding the Cache configuration properties.  code | html
DummyAlwayRefreshEntryPolicy   This is an dummy implementation of an EntryRefreshPolicy.  code | html
EntryUpdateState   Holds the state of a Cache Entry that is in the process of being (re)generated.  code | html
FinalizationException   Thrown by LifecycleAware listeners that are not able to finalize themselves.  code | html
InitializationException   Thrown by LifecycleAware listeners that are not able to initialize themselves.  code | html
NeedsRefreshException   This exception is thrown when retrieving an item from cache and it is expired.  code | html
TestConcurrency.GetEntry     code | html
TestConcurrency.GetStaleEntryAndCancelUpdate   Basically requests a stale entry, expects to receive a NeedsRefreshException, and always cancels the update.  code | html
TestConcurrency.OSGeneralTest     code | html

All Test Cases:

TestAbstractCacheAdministrator   Test class for the AbstractCacheAdministrator class.  code | html
GroupConcurrencyProblemTestCase   DOCUMENT ME!  code | html
TestCache   Test the public methods of the Cache class $Id: TestCache.java,v 1.2 2006/04/02 06:53:58 ltorunski Exp $  code | html
TestCacheEntry   Test the public methods of the CacheEntry class $Id: TestCacheEntry.java,v 1.1 2005/06/17 05:06:48 dres Exp $  code | html
TestCompleteBase   Test class for the com.opensymphony.oscache.base package.  code | html
TestConcurrency   Test the Cache class for any concurrency problems $Id: TestConcurrency.java,v 1.1 2005/06/17 05:06:49 dres Exp $  code | html