[jboss-user] [JBossCache] - Re: PojoCache and getObject()

ben.wang@jboss.com do-not-reply at jboss.com
Sat Sep 23 02:42:35 EDT 2006


Which version of PojoCache you are running? 

In 1.4, there is an optimization done to getObject such that is BuddyManager is not configured and there is already a Pojo instance stored in the cache system, e.g.,

  | cache.putObject(fqn, pojo);
  | ...
  | cache.getObject(fqn);
  | 
then it will bypass the interceptor plus node visit event notification.

What is the main reason to trigger nodeVisited event?

If you need to have that, you can turn on buddy replication flag to get that.

-Ben

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

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



More information about the jboss-user mailing list