Class DOMBrokerReadOnlyTransaction
- java.lang.Object
-
- org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction<DOMStoreReadTransaction>
-
- org.opendaylight.controller.cluster.databroker.DOMBrokerReadOnlyTransaction
-
- All Implemented Interfaces:
AutoCloseable,DOMDataTreeReadOperations,DOMDataTreeReadTransaction,DOMDataTreeTransaction,Identifiable<Object>,Registration
public class DOMBrokerReadOnlyTransaction extends AbstractDOMBrokerTransaction<DOMStoreReadTransaction> implements DOMDataTreeReadTransaction
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDOMBrokerReadOnlyTransaction(Object identifier, Map<LogicalDatastoreType,? extends DOMStoreTransactionFactory> storeTxFactories)Creates new composite Transactions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected DOMStoreReadTransactioncreateTransaction(LogicalDatastoreType key)FluentFuture<Boolean>exists(LogicalDatastoreType store, YangInstanceIdentifier path)FluentFuture<Optional<NormalizedNode>>read(LogicalDatastoreType store, YangInstanceIdentifier path)-
Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction
addToStringAttributes, closeSubtransactions, getIdentifier, getSubtransaction, getSubtransactions, getTxFactory, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifier
-
-
-
-
Constructor Detail
-
DOMBrokerReadOnlyTransaction
protected DOMBrokerReadOnlyTransaction(Object identifier, Map<LogicalDatastoreType,? extends DOMStoreTransactionFactory> storeTxFactories)
Creates new composite Transactions.- Parameters:
identifier- Identifier of transaction.
-
-
Method Detail
-
read
public FluentFuture<Optional<NormalizedNode>> read(LogicalDatastoreType store, YangInstanceIdentifier path)
- Specified by:
readin interfaceDOMDataTreeReadOperations
-
exists
public FluentFuture<Boolean> exists(LogicalDatastoreType store, YangInstanceIdentifier path)
- Specified by:
existsin interfaceDOMDataTreeReadOperations
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDOMDataTreeReadTransaction- Specified by:
closein interfaceRegistration
-
createTransaction
protected DOMStoreReadTransaction createTransaction(LogicalDatastoreType key)
- Specified by:
createTransactionin classAbstractDOMBrokerTransaction<DOMStoreReadTransaction>
-
-