org.apache.roller.util.cache |
|
Java Source File Name | Type | Comment |
Cache.java | Interface | Base interface representing a cache in Roller. |
CachedContent.java | Class | A utility class for storing cached content written to a java.io.Writer. |
CacheFactory.java | Interface | An interface representing a cache factory. |
CacheHandler.java | Interface | Represents someone that wants to receive notifications about cache
invalidation events.
A CacheHandler can be registered with the CacheManager and then will
receive all the various object invalidation events happening in the
system. |
CacheManager.java | Class | A governing class for Roller cache objects.
The purpose of the CacheManager is to provide a level of abstraction between
classes that use a cache and the implementations of a cache. |
ExpiringCacheEntry.java | Class | A cache entry that expires. |
ExpiringLRUCacheFactoryImpl.java | Class | Roller Expiring LRU cache factory. |
ExpiringLRUCacheImpl.java | Class | An LRU cache where entries expire after a given timeout period. |
FuturePostingsInvalidationJob.java | Class | Trigger cache invalidations for entries published into the future.
This job is meant to be run at timed intervals, it will not do any
good to run this job only a single time.
We do things in a somewhat counterintuitive manner, but it makes things
easier on us from an operational point of view. |
LazyExpiringCacheEntry.java | Class | A cache entry that is meant to expire in a lazy fashion.
The way to use this class is to wrap the object you want to cache in an
instance of this class and store that in your cache. |
LRUCacheFactoryImpl.java | Class | Roller LRU Cache factory. |
LRUCacheImpl.java | Class | A simple LRU Cache. |