com.jcorporate.expresso.core.cache |
Package containing all of the objects for Expresso's Cache Manager, a general-purpose
system for in-memory caching.
The caching system has many features such as built in Memory limitation, named
caches, ordered and undered caches , and many other features. It is designed
to be highly efficient for quick retrieval of Objects without requiring a network
round trip to a database.
|
Java Source File Name | Type | Comment |
Cache.java | Interface | A cache is a list of Cacheable objects that can be stored in memory,
cleared, added to and removed from. |
Cacheable.java | Interface |
Cacheable.java
Copyright 2000-2002 Jcorporate Ltd.
Any class that wishes to be stored in the Expresso system cache must implement
the Cacheable interface. |
CacheCleaner.java | Class | This thread is initialized by CacheManager and slowly iterates through the
Caches clearing out expired items. |
CachedObject.java | Class | |
CacheEntry.java | Class | Wrapper for any Cacheable object to be stored in a cache.
This wrapper provides some utility services
to the cacheable object, like maintaining it's usage count
(for the least-frequently-used algorithm
used to free up cache space when needed) and the expiry time
of the object (for caches that use
timed expiry of objects - e.g. |
CacheException.java | Class | |
CacheManager.java | Class | CacheManager.java
Copyright 1999-2002 Jcorporate Ltd.
Cache Manager is a general-purpose class to handle all different
kinds of caches - it provides both "ordered" caches (stored as a
Vector of objects) and "unordered" caches (stored as a Hashtable).
The amount of data cached can be expressed as a count of items in
the specified list (e.g. |
CacheStressTest.java | Class | Cache Stress test. |
CacheSyncInterface.java | Interface | This represents the cache syncing interface for sending out notifications
to other servers to remove an object from their cache.
Not all classes have to implement everything... |
CacheSyncMessage.java | Class | Data Bean for sending CacheSync messages across the wire. |
CacheSystem.java | Interface | This is an interface for an underlying cache system. |
CacheTest.java | Class | A test case to verify the functions of the Expresso CacheManager and related
objects. |
CacheTestThread.java | Class | |
DefaultCacheManager.java | Class | [Currently a placeholder. |
OrderedCache.java | Class | Insert the type's description here. |
UnOrderedCache.java | Class | Unordered cache is a hash map backed class. |