[jboss-dev-forums] [Design of JBossCache] - markNodeCurrentlyInUse() - race condition
genman
do-not-reply at jboss.com
Wed Jan 17 16:25:03 EST 2007
It seems to me that Region#markNodeCurrentlyInUse() does not really do what it is supposed to do.
Basically, it adds an event to the queue. And what can happen is that 4 seconds later (say, if event queue processing is every 4 seconds), is that the node can disappear after this method is called.
Doesn't this make this method fairly useless?
Shouldn't there just be a method on a Node to prevent eviction?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003044#4003044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003044
More information about the jboss-dev-forums
mailing list