[jboss-dev-forums] [Design of JBossCache] - Re: Need to make enhacements to CacheListener API
vincent.marquez
do-not-reply at jboss.com
Fri Jun 15 20:02:19 EDT 2007
Just my two cents, I see nothing wrong with the current API, maybe adding a AbstractPojoCacheListener to make life a little more convenient.
I do think CachedFieldInterceptor needs to be removed before the data is actually taken out of the cache, and not in a seperate thread if that is being considered. As it stands now, after a pojo is detached from a remote cache instance, it still tries to retrieve values from the cache, so you get a null value.
I threw a quick unit test up under http://jira.jboss.com/jira/browse/JBCACHE-713
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054928#4054928
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054928
More information about the jboss-dev-forums
mailing list