[
http://jira.jboss.com/jira/browse/JBCACHE-1009?page=comments#action_12382537 ]
Manik Surtani commented on JBCACHE-1009:
----------------------------------------
A bit tricky at the moment since regions aren't a top level construct. Caches are
preloaded at startup, and these preload Fqns are loaded regardless of whether it is in an
active region or not. Then, *after* the cache starts, regions are defined as active or
inactive.
I guess this approach does make some sense when defaultInactive is true, and cache loader
preloads *only* happens when regions are activated.
Still though, moving to 3.0.0 once we have regions as a top level construct since the
shape of all this may yet change.
Support preload functionality as part of region activation
----------------------------------------------------------
Key: JBCACHE-1009
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1009
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Cache loaders
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Fix For: 3.0.0
Currently a cache loader preload only happens as part of cache start. It could be
supported as part of the activateRegion process; i.e. if one of the defined preload
regions in the cache loader config encapsulates the region being activated, preload the
region. If one of the defined preload regions names a subregion of the region being
activated, preload the subregion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira