Hi all!

I am implementing a version of JBCache using optimistic loking, following the 
indications presented in the forum and in the docs i found in the distribution.

So far I add:
- an aspect to intercept the behavior of findNode(fqn)
- I add an Interceptor to manage creation of nodes in the workspace when a put 
method is invoked.
- I also add a call interceptor that avoids the chain of interceptors when i am 
in optimistic mode and i am not preparing or commiting.

Now I have this questions:
1. My first draft design attempt to update all the caches is the clusterm but 
the one performing the operation, this because prepare and commits avoid self 
:(. Any clues here?

2. I am not sure if i have to add the nodes that i have to lock to the list of 
the transaction, so far i am only adding the operations. I hope this will work 
:(. Is this ok? the documentation talks that they are using for unloking/ 
abort, the other nodes need this list or they make their own list?

3. This topic seems like dead in the forum..are you using other media to 
discuss this? a mail list?

Any advice/critic will be apprecited !

Daniel 


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to