[JBoss-user] [JBossCache] - Problems with cache read after failover

2005-09-11 Thread mranga
Hello! I have a timing issue. Sometimes I am unable to read the cache on failover. In the code that runs just after failover that gets triggered when a node gets made the new cluster loader, I read the cache but I get null back. I look in the cache afterwards and all the data is there. To be

[JBoss-user] [JBossCache] - TreeCacheListener question.

2005-06-21 Thread mranga
Hi! I would like to know wheter nodeVisited is called before the lock is acuqired or after. I want to implement a simple deadlock detection warning and it would be nice to have both before and after visit notifications. Ranga View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [JBossCache] - Can I directly acquire locks while running in a transaction?

2005-06-01 Thread mranga
Hi! Is an application allowed to directly lock and unlock nodes or should that be the sole responsibility of the transaction manager? Thanks Ranga View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879780#3879780 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [JBossCache] - get vs. peek

2005-06-01 Thread mranga
Hi I'd like a little clarification on the difference between get and peek. The doc says peek does not visit the node. Does this mean that there's no locking when peek is used? Thanks Ranga View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879781#3879781 Rep

[JBoss-user] [JBossCache] - Tree locking protocol and consistency models.

2005-05-26 Thread mranga
I understand things better in terms of locking and locking strength rather than consistency modles. Is there a paper that relates the tree locking protocol with the consistency model. Thanks Ranga View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879198#3879

[JBoss-user] [JBossCache] - Re: TreeCacheAop needs your idea

2005-05-26 Thread mranga
Ben There are various ways in which to reduce network traffic. One such way that is commonly used is code shipping. Using AOP, watch each cached object. Say you update a data value in a cache dobject. You can generate some code that makes the updates in the same order on all the replicated nod