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 protected
DOMBrokerReadOnlyTransaction(Object identifier, Map<LogicalDatastoreType,? extends DOMStoreTransactionFactory> storeTxFactories)
Creates new composite Transactions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected DOMStoreReadTransaction
createTransaction(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:
read
in interfaceDOMDataTreeReadOperations
-
exists
public FluentFuture<Boolean> exists(LogicalDatastoreType store, YangInstanceIdentifier path)
- Specified by:
exists
in interfaceDOMDataTreeReadOperations
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDOMDataTreeReadTransaction
- Specified by:
close
in interfaceRegistration
-
createTransaction
protected DOMStoreReadTransaction createTransaction(LogicalDatastoreType key)
- Specified by:
createTransaction
in classAbstractDOMBrokerTransaction<DOMStoreReadTransaction>
-
-