Package org.deuce.transaction.tl2cm.cm.ContentionManager

Examples of org.deuce.transaction.tl2cm.cm.ContentionManager.Action


            // un-registered its context object. In this case, I retry.
            //trace("Lock owner is not available, probably already finished. Retrying lock #{0}", new Object[]{lockedCounter});
            continue;
          }
          else {
            Action action = cm.resolve(writeField, this, otherCtx);
            if (action == Action.RESTART) {
              // this will cause my transaction to roll-back and restart itself
              //trace("restarting transaction as a result of contention on lock #{0}", new Object[]{lockedCounter});
              kill(-1);
              break;
View Full Code Here

TOP

Related Classes of org.deuce.transaction.tl2cm.cm.ContentionManager.Action

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.