BUG 6057: Rewrite ShardedDOMProducer to use new cursor api
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / DataTreeProducer.java
index 07e2559269e8419e7a629b6e113409ed9630f699..0520b40e2112ccd0d0829351a028b67e4afaa0e5 100644 (file)
@@ -48,7 +48,7 @@ public interface DataTreeProducer extends DataTreeProducerFactory, AutoCloseable
      *        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 WriteTransaction}
+     * @return A new {@link CursorAwareWriteTransaction}
      * @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
@@ -56,7 +56,7 @@ public interface DataTreeProducer extends DataTreeProducerFactory, AutoCloseable
      *         correct operation.
      */
     @Nonnull
-    WriteTransaction createTransaction(boolean isolated);
+    CursorAwareWriteTransaction createTransaction(boolean isolated);
 
     /**
      * {@inheritDoc}