@Override public DOMStoreReadWriteTransaction newReadWriteTransaction(TransactionIdentifier identifier) { return super.newReadWriteTransaction(identifier); }
protected DOMStoreReadWriteTransaction newReadWriteTransaction(T transactionId) { Entry<State, DataTreeSnapshot> entry; DOMStoreReadWriteTransaction ret; do { entry = getSnapshot(transactionId); ret = new SnapshotBackedReadWriteTransaction<>(transactionId, getDebugTransactions(), entry.getValue(), this); } while (!recordTransaction(entry.getKey(), ret)); return ret; }
protected DOMStoreReadWriteTransaction newReadWriteTransaction(T transactionId) { Entry<State, DataTreeSnapshot> entry; DOMStoreReadWriteTransaction ret; do { entry = getSnapshot(transactionId); ret = new SnapshotBackedReadWriteTransaction<T>(transactionId, getDebugTransactions(), entry.getValue(), this); } while (!recordTransaction(entry.getKey(), ret)); return ret; }