public interface DataTreeSnapshot
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.Modifier and Type | Method and Description |
---|---|
default @NonNull SchemaContext |
getSchemaContext()
Return the current
SchemaContext , which is being used for operations. |
DataTreeModification |
newModification()
Create a new data tree modification based on this snapshot, using the
specified data application strategy.
|
Optional<NormalizedNode<?,?>> |
readNode(YangInstanceIdentifier path)
Read a particular node from the snapshot.
|
Optional<NormalizedNode<?,?>> readNode(YangInstanceIdentifier path)
path
- Path of the nodeDataTreeModification newModification()
default @NonNull SchemaContext getSchemaContext()
SchemaContext
, which is being used for operations.Copyright © 2019 OpenDaylight. All rights reserved.