[jboss-user] [JBossCache] - performance issue with JDBCCacheLoader

gmeroz do-not-reply at jboss.com
Tue Jul 31 05:31:50 EDT 2007


i use version 2.0.0CR1 running inside JBoss AS with PojoCache.

i have a senario where i need to check for a list of nodes which of them are in the cache already (so i'll know if i need to add them to the cache latter). 

to check if a node is in the cache i use cache.find(...), but those calls are expensive since they load a Blob from the DB.

Is there a way to do something like Map.containsKey() ? which will run a cheaper query to the DB?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069074#4069074

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069074



More information about the jboss-user mailing list