EHC ❯ Reconsider deprecating one of CacheManager.addCache( Ehcache | Cache ) methods
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
ehcache-core
-
-
prodmgmt
-
Reporter: alexsnaps
-
April 21, 2010
-
0
-
Watchers: 1
-
April 27, 2010
-
Description
I think it is very disturbing to have 2 methods to add a Cache to a cacheManager: one that takes an instance of Cache, the other of Ehcache when Cache implements Ehcache. Besides, I think these two methods have been doing the same for a long time already (it already did in some weird ways before the datastructure unification of both maps holding mappings of name to Ehcache or Cache instances)
When we are willing to break backwards compatibility we can review this