[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-608) Cache loader does not load data for cache.get(Fqn fqn) calls
Jeevan Sunkersett (JIRA)
jira-events at jboss.com
Wed Nov 29 09:17:55 EST 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-608?page=comments#action_12347887 ]
Jeevan Sunkersett commented on JBCACHE-608:
-------------------------------------------
FYI,
I did not need to use workaround,
for me a
cache.load(<the-value-with-which-the-Fqn-is-created>)
works.
~g1
PS: My code:
myFQN = new Fqn(new Object[] {myName,"Jeevan"});
this.cache = new TreeCache();
cache.setClusterName(myName); // use myName in the cache.load() to load existing data
cache.setCacheMode("local");
//set the Transaction Manager to enable flushing of cache to disk
cache.setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
cache.setCacheLoaderConfiguration(getSingleCacheLoaderConfig("",
BdbjeCacheLoader.class.getName(), "location="
+ f.getAbsolutePath(), false, true, false));
create();
cache.load(myName); // this is required, to read in data from existing cache
> Cache loader does not load data for cache.get(Fqn fqn) calls
> ------------------------------------------------------------
>
> Key: JBCACHE-608
> URL: http://jira.jboss.com/jira/browse/JBCACHE-608
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Cache loaders
> Affects Versions: 1.2.3, 1.2.4beta, 1.3.0.GA, 1.2.4, 1.2.4SP1, 1.2.4SP2, 1.3.0.SP1
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Fix For: 1.4.0.GA
>
> Time Spent: 3 hours
> Remaining Estimate: 0 minutes
>
--
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