Code Review
/
mdsal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
diff --git
a/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardRootModificationContext.java
b/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardRootModificationContext.java
index 8aea26da68605a171a8d877e688156834694644f..41bd1cef9933c621a0d73f1b6b7121a842790b67 100644
(file)
--- a/
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardRootModificationContext.java
+++ b/
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardRootModificationContext.java
@@
-65,4
+65,9
@@
class ShardRootModificationContext {
return ret;
}
+
+ void closeCursor() {
+ cursor.close();
+ cursor = null;
+ }
}