Interface DataTreeSnapshot
- All Superinterfaces:
EffectiveModelContextProvider
- All Known Subinterfaces:
CursorAwareDataTreeModification
,CursorAwareDataTreeSnapshot
,DataTreeModification
Read-only snapshot of a
DataTree
. The snapshot is stable and isolated, e.g. data tree changes occurring after
the snapshot has been taken are not visible through the snapshot.-
Method Summary
Modifier and TypeMethodDescription@NonNull DataTreeModification
Create a new data tree modification based on this snapshot, using the specified data application strategy.Read a particular node from the snapshot.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
Method Details
-
readNode
Read a particular node from the snapshot.- Parameters:
path
- Path of the node- Returns:
- Optional result encapsulating the presence and value of the node
-
newModification
@NonNull DataTreeModification newModification()Create a new data tree modification based on this snapshot, using the specified data application strategy.- Returns:
- A new data tree modification
-