public interface DOMDataTreeReadCursor extends DOMDataTreeCursor
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.util.concurrent.CheckedFuture<Boolean,ReadFailedException> | 
exists(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
Checks if data is available in the logical data store located at provided path. 
 | 
com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>,ReadFailedException> | 
readNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
Read a particular node from the snapshot. 
 | 
com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>,ReadFailedException> readNode(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
child - Child identifierIllegalArgumentException - when specified path does not identify a valid child.com.google.common.util.concurrent.CheckedFuture<Boolean,ReadFailedException> exists(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
 Note: a successful result from this method makes no guarantee that a subsequent call to
 #readNode(PathArgument) will succeed. It is possible that the data resides in a data store on a remote
 node and, if that node goes down or a network failure occurs, a subsequent read would fail.
 Another scenario is if the data is deleted in between the calls to exists and
 readNode
child - Child identifierReadFailedException or an exception derived from
         ReadFailedException.Copyright © 2018 OpenDaylight. All rights reserved.