CDV ❯ Documentation enhancement with NonstopCache
-
Documentation
-
Status: Closed
-
2 Major
-
Resolution: Won't Fix
-
Documentation
-
-
-
Reporter: janning
-
February 04, 2011
-
0
-
Watchers: 0
-
July 27, 2012
-
May 17, 2012
Description
I would like to see an additional sentence in section “configuring a NonStopCache in ehcache.xml” of documentation for terracotta 3.4.0.
When i first tried to configure it I just added a
So while testing the application behaviour has not changed because my app was just not using the nonstopcache.
so if your original ehcache.xml looks like this:
you should change it to
This way your application uses nonstopCache without changing anything else.
Of, course the word “decorator” implies this! And after hours testing and googling it was clear to me. But as you put the decorator _inside_ the cache element it just looks like you are configuring the original cache.
Maybe its just me being stupid and not realizing that we are talking about a decorator which wraps the original cache but an additional example could help others.
regards janning
Comments
ilevy 2011-02-28
ilevy 2012-05-17
I don’t think any action is needed any longer as it’s well established now that nonstop is a part of cache configuration.
As of Terracotta 3.5.0 (which includes Ehcache 2.4.0) NonStopCache is no longer a decorator.
A tip about this issue in http://ehcache.org/documentation/cache_decorators.html may be a good idea.