/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
/** * Create a new transaction with the specified timeout. */ public TransactionImple(int timeout) { _theTransaction = new AtomicAction(); _theTransaction.begin(timeout); _resources = new Hashtable(); _duplicateResources = new Hashtable(); _suspendCount = 0; _xaTransactionTimeoutEnabled = getXATransactionTimeoutEnabled(); _txLocalResources = Collections.synchronizedMap(new HashMap()); }
String transactionType = new AtomicAction().type();
String transactionType = new AtomicAction().type();
String transactionType = new AtomicAction().type();
String transactionType = new AtomicAction().type();
String transactionType = new AtomicAction().type();
String transactionType = new AtomicAction().type();
AtomicAction aa = new AtomicAction(); aa.begin(); assertEquals(AddOutcome.AR_ADDED, aa.add(new XAResourceRecord(null, new XARRTestResource(), new XidImple(aa), null)));