Add batching of non-isolated transaction in ShardedDOMDataTreeProducer
[mdsal.git] / dom / mdsal-dom-inmemory-datastore / src / main / java / org / opendaylight / mdsal / dom / store / inmemory / ShardRootModificationContext.java
index 8aea26da68605a171a8d877e688156834694644f..41bd1cef9933c621a0d73f1b6b7121a842790b67 100644 (file)
@@ -65,4 +65,9 @@ class ShardRootModificationContext {
 
         return ret;
     }
+
+    void closeCursor() {
+        cursor.close();
+        cursor = null;
+    }
 }