Hi!
Last week I developed web page for configuring logic cache. Let`s look a chain of requirements to understand what and why is done.
LogicCacheManager may have a lot of caches, each cache has it`s configuration and some features like flush cache data. If I can change cache`s configuration I want after application restart to have the same configuration, I say about storing/restoring settings.
LogicCache is only layer between caching framework and some of them doesn`t allow to change some of their setting at runtime, so that`s why we need ability to "restart" cache to activate option. Restarting of a cache is simply recreating it, this mean I programmatically dispose and the create cache with the same name.
So, the requirements are:
1) provide access to cache`s settings through the web page;
2) make "restart" feature for current caching framework;
3) store/restore settings.
I think we two web pages: the 1st with list of all caches and the 2nd with current cache settings.
below you can see such pages.
page with all caches we use in the project:
page with certain logic cache:
That`s all.
Ah, no, I have something else. Temporary to test cache I added to the logic module tester page ability to run tests for cohort of patients:
and result page:
If we needn`t this I change these pages back.
OK, now that`s all.
Tuesday, July 13, 2010
Subscribe to:
Posts (Atom)