Bug #2275
closedReplace the DataCacheManager
0%
Description
The DataCacheManager does some funky things and needs to be refactored to make
the API simpler and enable native use of LSIDs as system identifiers. There are
also several bugs in it due to threading issues and the naming of .dat files
based on a timestamp.
The ObjectCache will fully replace the DataCacheManager. The ObjectCache has a
simple API based on LSIDs. CacheObject is an interface for objects stored
within the cache. It can be extended to deal with many different types of data.
It also includes callbacks so that cache objects can deal with their own
lifecycle events.
ObjectCache also includes a listener interface so that external objects can
listen and react to cache events.
Updated by Chad Berkley about 19 years ago
This will also require us changing all of the ecogrid classes to use the new system.
Updated by Kevin Ruland almost 19 years ago
This has been accomplished. The DataCacheManager still exists but uses the
CacheManager as its backend object persistance mechanism. Completely removing
the DataCacheManager would require extensive changes to all the classes which
use the current api.