- DataTreeModification modification = shardDataTree.getDataTree().takeSnapshot().newModification();
- modification.merge(path, node);
- modification.ready();
-
- shardDataTree.getDataTree().validate(modification);
- DataTreeCandidateTip candidate = shardDataTree.getDataTree().prepare(modification);
- shardDataTree.getDataTree().commit(candidate);
- shardDataTree.notifyListeners(candidate);