[infinispan-dev] Default cache

Tristan Tarrant ttarrant at redhat.com
Thu Nov 10 03:38:23 EST 2016

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 ?


[1] https://github.com/infinispan/infinispan/pull/4631
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat

More information about the infinispan-dev mailing list