D
- The logical datastore handled by the transaction.public interface TypedReadTransaction<D extends Datastore>
extends org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>
ManagedNewTransactionRunner
(it doesn’t support explicit cancel or commit operations).ReadTransaction
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.FluentFuture<Boolean> |
exists(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Determines if an object exists at the given path.
|
<T extends org.opendaylight.yangtools.yang.binding.DataObject> |
read(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Reads an object from the given path.
|
<T extends org.opendaylight.yangtools.yang.binding.DataObject> com.google.common.util.concurrent.FluentFuture<com.google.common.base.Optional<T>> read(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
T
- The type of the expected object.path
- The path to read from.ReadTransaction.read(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType,
InstanceIdentifier)
com.google.common.util.concurrent.FluentFuture<Boolean> exists(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
path
- The path to read from.ReadTransaction.exists(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType,
InstanceIdentifier)
Copyright © 2019 OpenDaylight. All rights reserved.