/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple (int timeout) { this(new SubordinateAtomicAction(timeout)); }
@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(); }