Interface DataTree
- All Superinterfaces:
DataTreeTip
,ReadOnlyDataTree
- All Known Implementing Classes:
InMemoryDataTree
Interface representing a data tree which can be modified in an MVCC fashion.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit
(DataTreeCandidate candidate) Commit a data tree candidate.void
setEffectiveModelContext
(EffectiveModelContext newModelContext) Make the data tree use a new schema context.Methods inherited from interface org.opendaylight.yangtools.yang.data.tree.api.DataTreeTip
equals, hashCode, prepare, validate
Methods inherited from interface org.opendaylight.yangtools.yang.data.tree.api.ReadOnlyDataTree
getRootPath, takeSnapshot
-
Method Details
-
setEffectiveModelContext
Make the data tree use a new schema context. The context will be used only by subsequent operations.- Parameters:
newModelContext
- new EffectiveModelContext- Throws:
IllegalArgumentException
- if the new context is incompatibleNullPointerException
- if newModelContext is null
-
commit
Commit a data tree candidate.- Parameters:
candidate
- data tree candidate
-