CacheLoader and CacheStore SPI redesign

For Infinispan 6.0, it makes sense to put in some of the much needed changes to the CacheStore and CacheLoader interfaces. Some of the areas to address in this redesign include:

 

* Support for registering the store with a transaction manager (if the store declares itself as transactional. Perhaps a sub-interface here)

* Configuration via fluent configuration objects as well as exposing configuration XSDs rather than properties

* JSR 107 compliance (extend JSR 107 interfaces?)

* support CacheLoader.load(int, Filter) where the filter selects which entries should be considered for loading. See https://community.jboss.org/message/726337#726337 and ISPN-1964

 

NOTE: The SPIs are being prototyped here: https://github.com/maniksurtani/infinispan-cachestore-proposal