Project

General

Profile

Bug #2275

Replace the DataCacheManager

Added by Chad Berkley almost 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
11/16/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2275

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.

History

#1 Updated by Chad Berkley almost 14 years ago

This will also require us changing all of the ecogrid classes to use the new system.

#2 Updated by Kevin Ruland over 13 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.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2275

Also available in: Atom PDF