AttributedExpireableCache.java Created: Tue Apr 25 14:57:22 2000
Distributed Cache Local Peer Each distributed cache peer holds its own local copy of cached data.
This class represents a cache that automatically expires objects when a certain fillness factor is reached.
LRU Cache Policy Implementation of a Least Recently Used cache policy.
The distributed cache is used for keeping a local copy of frecuently accesed data at the web or apllication server reducing database accesses.The hole distributed cache structure is composed by a number or nodes (peers) and, possibly, a central cache coordinator.
The cache coordinator is not necessary if you only have one client peer, or if different peers do not share any data that may be changed at runtime.
If there are multiple cache clients concurrently caching and updating
the same data, for example in a web server farm where all web server use the same
centralized database, then it will be necessary to install the cache coordinator
in an application server such as JBoss or another EJB container accesible throught RMI.
The cache coordinator is supplied in a different package from cache client as both components are to be installed on different machines.