[jboss-dev-forums] [Design of JBossCache] - Re: Distributed lock manager

bstansberry@jboss.com do-not-reply at jboss.com
Mon Mar 12 14:26:30 EDT 2007


"manik.surtani at jboss.com" wrote : I'm thinking of something which can be swapped in place of the Pessimistic/OptimisticLockInterceptor (DistPess/OptLockInterceptors?) which in addition to obtaining local locks, uses a methodcall broadcast to replicate lock() methodcalls up remote stacks.

It would be nice to be able to make this more explicit and hence fine-grained. E.g. I have some data structure that maps to a subset of the tree.  At the beginning of a tx I call lock("/session/123") which results in a broadcast, but thereafter no other actions I take that send out any cluster-wide messages. Assuming the lock() call results in a WL, the presence of the WL protects the rest of the subtree for the duration of the tx.

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

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



More information about the jboss-dev-forums mailing list