[jboss-user] [JBossCache] - Re: Recipe for serial read ?

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Jun 8 05:55:41 EDT 2007


We don't do distributed locks (mainly for performance reasons - athough as people have asked for it, we have it on the roadmap as a feature.  http://jira.jboss.com/jira/browse/JBCACHE-1098)

If you want to run a process as a singleton, you could test whether you are the cluster coordinator.  Depending on which version of JBoss Cache you are using, you would need to get a hold of the JGroups channel and register a MembershipListener and listen for the viewChange event so you can update your status if the coordinator changes.

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

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



More information about the jboss-user mailing list