Another approach to consider is that if a lock is always needed on a node, it 
should be created in the constructor rather than being done lazily.  Gets 
around the unnecessary call to initLock() whenever getLock() is invoked.

Need to think about this a bit first though.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064520
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to