@Beta public interface ReadTransaction extends AsyncReadTransaction<InstanceIdentifier<?>,TreeNode>
For more information on usage and examples, please see the documentation in
AsyncReadTransaction
.
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback)
Reads data from the provided logical data store located at the provided path.
|
close
getIdentifier
<T extends TreeNode> void read(LogicalDatastoreType store, InstanceIdentifier<T> path, BiConsumer<ReadFailedException,T> callback)
If the target is a subtree, then the whole subtree is read (and will be accessible from the returned data object).
T
- result typestore
- Logical data store from which read should occur.path
- Path which uniquely identifies subtree which client want to
readcallback
- result callbackCopyright © 2019 OpenDaylight. All rights reserved.