super(parent, transactionId);
}
- private AbstractProxyTransaction createProxy(final Long shard) {
- return parent().createTransactionProxy(getIdentifier(), shard);
- }
-
private AbstractProxyTransaction ensureTransactionProxy(final YangInstanceIdentifier path) {
- return ensureProxy(path, this::createProxy);
+ return ensureProxy(path);
}
+ @Deprecated(forRemoval = true)
public DOMDataTreeWriteCursor openCursor() {
Preconditions.checkState(cursor == null, "Transaction %s has open cursor", getIdentifier());
cursor = new ClientTransactionCursor(this);
return parent().onTransactionReady(this, cohort);
}
+ @Override
+ final AbstractProxyTransaction createProxy(final Long shard) {
+ return parent().createTransactionProxy(getIdentifier(), shard);
+ }
+
void closeCursor(final @NonNull DOMDataTreeCursor cursorToClose) {
if (cursorToClose.equals(this.cursor)) {
this.cursor = null;