Interface ReadOnlyDataTree
-
- All Known Subinterfaces:
DataTree
- All Known Implementing Classes:
InMemoryDataTree
@Beta @NonNullByDefault public interface ReadOnlyDataTree
A read-only view of aDataTree
. This provides access to MVCC access methods, but unlikeDataTree
, it does not expose methods to affect internal state.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description YangInstanceIdentifier
getRootPath()
Get the root path of this data tree.DataTreeSnapshot
takeSnapshot()
Take a read-only point-in-time snapshot of the tree.
-
-
-
Method Detail
-
getRootPath
YangInstanceIdentifier getRootPath()
Get the root path of this data tree.- Returns:
- The tree's root path.
-
takeSnapshot
DataTreeSnapshot takeSnapshot()
Take a read-only point-in-time snapshot of the tree.- Returns:
- Data tree snapshot.
-
-