195196197198199200201202203204205
{ try { _values[x][y].get_value(value); atomicTransaction.commit(true); } catch (InvocationException invocationException) { atomicTransaction.rollback();
259260261262263264265266267268269
{ try { _values[x][y].set_value(value); atomicTransaction.commit(true); } catch (InvocationException invocationException) { atomicTransaction.rollback();
203204205206207208209210211212213
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED) { _value = value; atomicTransaction.commit(true); } else { atomicTransaction.rollback();
252253254255256257258259260261262
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED) { _value++; atomicTransaction.commit(true); } else { atomicTransaction.rollback();
110111112113114115116117118119120
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED) { atomicTransaction.commit(true); } else { System.err.println("AITMatrixImpl04.AITMatrixImpl04: failed to get lock"); atomicTransaction.rollback();
370371372373374375376377378379380
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED) { atomicTransaction.commit(true); } else { System.err.println("Element.Element: failed to get lock"); atomicTransaction.rollback();
426427428429430431432433434435436
atomicTransaction.begin(); if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED) { value.value = _value; atomicTransaction.commit(true); } else { atomicTransaction.rollback();
475476477478479480481482483484485
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED) { _value = value; atomicTransaction.commit(true); } else { atomicTransaction.rollback();
362363364365366367368369370371372
8788899091929394959697
atomicTransaction.begin(); if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED) { atomicTransaction.commit(true); } else { System.err.println("CounterImpl0001.CounterImpl001: failed to get lock"); atomicTransaction.rollback();