@Beta public interface CursorAwareDataTreeSnapshot extends DataTreeSnapshot
DataTreeSnapshot
which allows creation of a DataTreeSnapshotCursor
.Modifier and Type | Method and Description |
---|---|
DataTreeSnapshotCursor |
createCursor(YangInstanceIdentifier path)
Deprecated.
Use
openCursor(YangInstanceIdentifier) instead. |
CursorAwareDataTreeModification |
newModification()
Create a new data tree modification based on this snapshot, using the
specified data application strategy.
|
default DataTreeSnapshotCursor |
openCursor()
Create a new
DataTreeSnapshotCursor at the root of the modification. |
default Optional<? extends DataTreeSnapshotCursor> |
openCursor(YangInstanceIdentifier path)
Create a new
DataTreeSnapshotCursor at specified path. |
getSchemaContext, readNode
@Deprecated @Nullable DataTreeSnapshotCursor createCursor(@Nonnull YangInstanceIdentifier path)
openCursor(YangInstanceIdentifier)
instead.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.default Optional<? extends DataTreeSnapshotCursor> openCursor(@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.default DataTreeSnapshotCursor openCursor()
DataTreeSnapshotCursor
at the root of the modification.IllegalStateException
- if there is another cursor currently open.CursorAwareDataTreeModification newModification()
DataTreeSnapshot
newModification
in interface DataTreeSnapshot
Copyright © 2019 OpenDaylight. All rights reserved.