All Implemented Interfaces:
Reapable
Direct Known Subclasses:
SubordinateAtomicAction

public class AtomicAction extends AtomicAction
  • Constructor Details

    • AtomicAction

      public AtomicAction()
    • AtomicAction

      protected AtomicAction(Uid actId)
      Only used by failure recovery to recreate an inflight transaction.
      Parameters:
      actId - the transaction to recreate.
  • Method Details

    • checkForCurrent

      protected boolean checkForCurrent()
      By default the BasicAction class only allows the termination of a transaction if it's the one currently associated with the thread. We override this here.
      Overrides:
      checkForCurrent in class AtomicAction
      Returns:
      false to indicate that this transaction can only be terminated by the right thread.