/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
/** * Commit the transaction, and have heuristic reporting. Heuristic reporting * via the return code is enabled. * * @return <code>ActionStatus</code> indicating outcome. */ public int commit () { return commit(true); }
@Test public void testAtomicAction () throws Exception { SubordinateAtomicAction saa = new SubordinateAtomicAction(); AtomicAction A = new AtomicAction(); assertEquals(saa.commit(), ActionStatus.INVALID); assertEquals(saa.abort(), ActionStatus.INVALID); assertTrue(saa.type() != A.type()); assertTrue(saa.activated()); saa.doForget(); }