[jboss-dev-forums] [Design of JBossCache] - Re: Patch adding transactional putSilent() method

Cyberax do-not-reply at jboss.com
Wed Sep 19 13:39:27 EDT 2007


"manik.surtani at jboss.com" wrote : I realise you're not interested in pessimistic locking, but any optimisation needs to be generic enough to work across both schemes.  :-)
  | 
I'll try to generify my optimization :)

anonymous wrote : Not if this is within a tx.  This could cause the whole tx to rollback.
As far as I understand by reading PessimisticLockInterceptor, rollback is caused by UpgradeException/TimeoutException/... propagating through the stack. So the easiest solution is to ignore these exceptions for putSilent() nodes. Am I correct?

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

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



More information about the jboss-dev-forums mailing list