[jboss-dev-forums] [Design of JBossCache] - Re: CacheListener notifications during data gravitation

bstansberry@jboss.com do-not-reply at jboss.com
Mon Oct 2 10:14:16 EDT 2006


I think what Manik's suggesting isn't really LOCAL vs REMOTE but rather dataGravitation=true/false. It would get signalled on whatever node was affected by the gravitation.

That could work, and is certainly less hacky than the ThreadLocal :)  But, should this be added to all notifications?  In my current usage of JBC, only confusion about the nodeRemoved caused a problem.  But that's just because of the way the code works; other use cases may have a similar problem with other notifications.

BTW, turns out this is not an issue for ClusteredSSO. Thinking about this made me realize BR is totally inappropriate for ClusteredSSO (I'd thought it was non-optimal but usable; it's not.)

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

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



More information about the jboss-dev-forums mailing list