Interface ReadOnlyDataTree
- All Known Subinterfaces:
DataTree
@Beta
@NonNullByDefault
public interface ReadOnlyDataTree
A read-only view of a
DataTree. This provides access to MVCC access methods, but unlike DataTree,
it does not expose methods to affect internal state.- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.data.api.YangInstanceIdentifierGet the root path of this data tree.Take a read-only point-in-time snapshot of the tree.
-
Method Details
-
getRootPath
org.opendaylight.yangtools.yang.data.api.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.
-