@Beta public class BindingDOMReadTransactionAdapter extends AbstractForwardedTransaction<DOMDataTreeReadTransaction> implements ReadTransaction
| Constructor and Description |
|---|
BindingDOMReadTransactionAdapter(DOMDataTreeReadTransaction delegate,
BindingToNormalizedNodeCodec codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this transaction and releases all resources associated with it.
|
<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.
|
doRead, getCodec, getDelegate, getDelegateChecked, getIdentifierpublic BindingDOMReadTransactionAdapter(DOMDataTreeReadTransaction delegate, BindingToNormalizedNodeCodec codec)
public <T extends TreeNode> void read(LogicalDatastoreType store, InstanceIdentifier<T> path, BiConsumer<ReadFailedException,T> callback)
ReadTransactionIf the target is a subtree, then the whole subtree is read (and will be accessible from the returned data object).
read in interface ReadTransactionT - result typestore - Logical data store from which read should occur.path - Path which uniquely identifies subtree which client want to
readcallback - result callbackpublic void close()
ReadTransactionclose in interface AutoCloseableclose in interface ReadTransactionclose in interface org.opendaylight.yangtools.concepts.RegistrationCopyright © 2019 OpenDaylight. All rights reserved.