Hello,

In my project, we cache the result of a computation. This computation takes 
quite some time (5-6 seconds) to be done.

When the definition of the computation is modified, the node corresponding to 
the modified computation is removed. At that time, the computation is updated, 
and its new result is cached.

What I would like to do is get a lock on the computation's node (or parent), 
remove the node, update the value to cache and put the new value in the node. 
Only after that the node would be unlocked.

Is there a way to do this?

Thanks :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104471
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to