+1000
This is precisely how we've setup cache manager semantics in WildFly
(since AS7):
I'd love to be able to drop this.
Paul
On Thu, Nov 10, 2016 at 3:38 AM, Tristan Tarrant <ttarrant(a)redhat.com> wrote:
In the discussion for [1] the subject of the default cache and the
way
it affects configuration inheritance came up.
My proposal is:
- remove the default cache as a special cache altogether
- CacheManager.getCache() should return the named cache specified as
default in the configuration.
- the programmatic GlobalConfigurationBuilder/GlobalConfiguration should
have the notion of the default named cache (currently this is handled in
the parser)
- Retrieving the cache named "___defaultcache" should actually retrieve
the above named cache
Opinions ?
Tristan
[1]
https://github.com/infinispan/infinispan/pull/4631
--
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev