[
http://jira.jboss.com/jira/browse/JBCACHE-1120?page=comments#action_12367971 ]
Adrian Sandor commented on JBCACHE-1120:
----------------------------------------
But indeed, if [the equivalent of] c.get("/a/b").replaceAll(m); didn't load
the data from the cacheloader, and caused a subsequent get not to load data either, than I
could use that instead of c.put and it would solve the first problem I had.
Do not load data from loader for calls to Cache.get(Fqn fqn)
------------------------------------------------------------
Key: JBCACHE-1120
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1120
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR2
Reporter: Elias Ross
Assigned To: Manik Surtani
Refer to the forum...
The following code causes the old data to be loaded from the cache loader, though
it's really not necessary:
Cache c;
Map m;
c.get("/a/b").replaceAll(m);
// or
c.get("/a/b").clearData();
Changing CacheLoaderInterceptor to not load on "getNodeMethodLocal_id" might
work, but not sure if that would be the correct fix.
--
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