This content has been marked as final.
Show 1 reply
-
1. Re: Redesign of Pool Configuration
brian.stansberry Jan 28, 2009 3:00 PM (in response to alrubinger)(02:15:19 AM) carlo: ALR: Each cache implementation should have it's own annotations, metadata and deployers.
I like that as well.
An implemenation detail we should remember when we do this though is user-friendliness when people mismatch their configuration. E.g. there used to be two @CacheConfig variants in different packages, one meant for SimpleCache, other for StatefulTreeCache. People would use the wrong one, which would result in the cache just using defaults.
Of course, getting rid of @Cache and making the cache impl implicit based on the @CacheConfig would remove that problem.