I am using JBossCache 1.3.0.SP2 in my project. Right now I am doing a 
feasibility check on optimistic locking in JBossCache and am facing a problem.
I have TreeCacheAOP cache and have made another class as listener to it by 
extending AbstractTreeCacheListener.
I have configured the TreeCacheAOP for optimistic locking by mentioning 
NodeLockingScheme as OPTIMISTIC in "replSync-service.xml".
Now the problem is that whenever i modify a node in the cache (by getting it 
from cache and modifying) I am not getting any events in the Listener class I 
have made.
I get these events when the NodeLockingScheme is PESSIMISTIC.

Now I need to have OPTIMISTIC locking and also need to track the when a node 
gets modified.I have read all the documentation available but am not able to 
solve this issue.

Please let me know how should i solve this issue...
please let me know if anything is not clear...

Thanks in advance
Varun

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to