]
Tristan Tarrant reassigned ISPN-4662:
-------------------------------------
Assignee: (was: Mircea Markus)
Support JSR 107 readThrough option on Infinispan xml config
-----------------------------------------------------------
Key: ISPN-4662
URL:
https://issues.jboss.org/browse/ISPN-4662
Project: Infinispan
Issue Type: Bug
Components: JCache
Reporter: Ryan Dunckel
Currently, while Infinispan supports "read through" caches via the JSR 107
(JCache) programmatic config, it doesn't offer a read-through option to be set through
the infinispan config xml. At the same time, Infinispan supports the JCache spec of
checking to see if a cache is read-through (which defaults to false in JCache) before
invoking a cache loader. This means that cache loaders don't get invoked for missing
entries for JCache caches configured with infinispan's xml.
There is no work-around to set the read-through option after the fact, because JCache
configurations are immutable once the caches are created.