[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1120) Do not load data from loader for calls to Cache.get(Fqn fqn)
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Jul 12 10:41:04 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1120?page=comments#action_12368743 ]
Manik Surtani commented on JBCACHE-1120:
----------------------------------------
See JBCACHE-1133 for the specific problem of loading a child node unnecessarily.
This JIRA has to do with doing a cache.get(node) which should not bother loading data.
> 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
> Fix For: 2.0.0.CR4, 2.0.0.GA
>
>
> 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
More information about the jboss-jira
mailing list