case ActionStatus.ABORTED: case ActionStatus.H_ROLLBACK: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicRollback(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); // will eventually get forget case TwoPhaseOutcome.HEURISTIC_HAZARD: default: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
throw new HeuristicCommit(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
case ActionStatus.ABORTED: case ActionStatus.H_ROLLBACK: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicRollback(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); // will eventually get forget case TwoPhaseOutcome.HEURISTIC_HAZARD: default: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
throw new HeuristicCommit(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();