D - The logical datastore handled by the transaction.public interface TypedReadTransaction<D extends Datastore> extends Transaction
ManagedNewTransactionRunner (it doesn’t support explicit cancel or commit operations).ReadTransaction| Modifier and Type | Method and Description |
|---|---|
default com.google.common.util.concurrent.FluentFuture<Boolean> |
exists(InstanceIdentifier<?> path)
Determines if an object exists at the given path.
|
<T extends DataObject> |
read(InstanceIdentifier<T> path)
Reads an object from the given path.
|
<T extends DataObject> com.google.common.util.concurrent.FluentFuture<Optional<T>> read(InstanceIdentifier<T> path)
T - The type of the expected object.path - The path to read from.ReadOperations.read(LogicalDatastoreType, InstanceIdentifier)default com.google.common.util.concurrent.FluentFuture<Boolean> exists(InstanceIdentifier<?> path)
read(InstanceIdentifier). Implementations are recommended to override with a more efficient
implementation.path - The path to read from.ReadOperations.exists(LogicalDatastoreType, InstanceIdentifier)Copyright © 2019 OpenDaylight. All rights reserved.