@Beta public interface CursorAwareDataTreeModification extends DataTreeModification, CursorAwareDataTreeSnapshot
DataTreeModification
which allows creation of a DataTreeModificationCursor
.Modifier and Type | Method and Description |
---|---|
DataTreeModificationCursor |
createCursor(YangInstanceIdentifier path)
Deprecated.
Use
openCursor(YangInstanceIdentifier) instead. |
default DataTreeModificationCursor |
openCursor()
Create a new
DataTreeModificationCursor at the root of the modification. |
default Optional<? extends DataTreeModificationCursor> |
openCursor(YangInstanceIdentifier path)
Create a new
DataTreeModificationCursor at specified path. |
applyToCursor, delete, merge, ready, write
newModification
getSchemaContext, readNode
@Deprecated @Nullable DataTreeModificationCursor createCursor(@Nonnull YangInstanceIdentifier path)
openCursor(YangInstanceIdentifier)
instead.DataTreeModificationCursor
at specified path. May fail
if specified path does not exist. It is a programming error to use normalcreateCursor
in interface CursorAwareDataTreeSnapshot
path
- Path at which the cursor is to be anchoredIllegalStateException
- if there is another cursor currently open,
or the modification is already DataTreeModification.ready()
.default Optional<? extends DataTreeModificationCursor> openCursor(@Nonnull YangInstanceIdentifier path)
DataTreeModificationCursor
at specified path. May fail
if specified path does not exist.openCursor
in interface CursorAwareDataTreeSnapshot
path
- Path at which the cursor is to be anchoredIllegalStateException
- if there is another cursor currently open,
or the modification is already DataTreeModification.ready()
.default DataTreeModificationCursor openCursor()
DataTreeModificationCursor
at the root of the modification.openCursor
in interface CursorAwareDataTreeSnapshot
IllegalStateException
- if there is another cursor currently open.Copyright © 2019 OpenDaylight. All rights reserved.