BUG 6057: Rewrite ShardedDOMProducer to use new cursor api
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMDataTreeProducer.java
index eb11d510cfa6f5672e17609e119a380c2fc3159d..7ff7d96487ddb66b53b16cff98e77bf44ff31679 100644 (file)
@@ -47,14 +47,14 @@ public interface DOMDataTreeProducer extends DOMDataTreeProducerFactory, AutoClo
      *        is processed separately from any preceding transactions. Non-barrier transactions may
      *        be merged and processed in a batch, such that any observers see the modifications
      *        contained in them as if the modifications were made in a single transaction.
-     * @return A new {@link DOMDataTreeWriteTransaction}
+     * @return A new {@link DOMDataTreeCursorAwareTransaction}
      * @throws IllegalStateException if a previous transaction was not closed.
      * @throws IllegalThreadStateException if the calling thread context does not match the
      *         lifecycle rules enforced by the producer state (e.g. bound or unbound). This
      *         exception is thrown on a best effort basis and programs should not rely on it for
      *         correct operation.
      */
-    @Nonnull DOMDataTreeWriteTransaction createTransaction(boolean isolated);
+    @Nonnull DOMDataTreeCursorAwareTransaction createTransaction(boolean isolated);
 
     /**
      * {@inheritDoc}