Interface ReadOnlyDataTree

All Known Subinterfaces:
DataTree
All Known Implementing Classes:
InMemoryDataTree

@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 Details

    • 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.