@Beta public interface CursorAwareDataTreeSnapshot extends DataTreeSnapshot
DataTreeSnapshot
which allows creation of a DataTreeSnapshotCursor
.Modifier and Type | Method and Description |
---|---|
DataTreeSnapshotCursor |
createCursor(YangInstanceIdentifier path)
Create a new
DataTreeSnapshotCursor at specified path. |
CursorAwareDataTreeModification |
newModification()
Create a new data tree modification based on this snapshot, using the
specified data application strategy.
|
readNode
@Nullable DataTreeSnapshotCursor createCursor(@Nonnull YangInstanceIdentifier path)
DataTreeSnapshotCursor
at specified path. May fail
if specified path does not exist.path
- Path at which the cursor is to be anchoredIllegalStateException
- if there is another cursor currently open.CursorAwareDataTreeModification newModification()
DataTreeSnapshot
newModification
in interface DataTreeSnapshot
Copyright © 2018 OpenDaylight. All rights reserved.