Class DOMBrokerReadWriteTransaction
java.lang.Object
org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction<T>
org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction<DOMStoreReadWriteTransaction>
org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction
- All Implemented Interfaces:
DOMDataTreeReadOperations,DOMDataTreeReadWriteTransaction,DOMDataTreeTransaction,DOMDataTreeWriteOperations,DOMDataTreeWriteTransaction,Identifiable<Object>
public class DOMBrokerReadWriteTransaction
extends AbstractDOMBrokerWriteTransaction<DOMStoreReadWriteTransaction>
implements DOMDataTreeReadWriteTransaction
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDOMBrokerReadWriteTransaction(Object identifier, Map<LogicalDatastoreType, ? extends DOMStoreTransactionFactory> storeTxFactories, AbstractDOMTransactionFactory<?> commitImpl) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMStoreReadWriteTransactionexists(LogicalDatastoreType store, YangInstanceIdentifier path) read(LogicalDatastoreType store, YangInstanceIdentifier path) Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction
addToStringAttributes, cancel, commit, delete, merge, putMethods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction
closeSubtransaction, getIdentifier, getSubtransaction, getSubtransaction, getTxFactory, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opendaylight.mdsal.dom.api.DOMDataTreeWriteOperations
delete, merge, putMethods inherited from interface org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction
cancel, commitMethods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifier
-
Constructor Details
-
DOMBrokerReadWriteTransaction
protected DOMBrokerReadWriteTransaction(Object identifier, Map<LogicalDatastoreType, ? extends DOMStoreTransactionFactory> storeTxFactories, AbstractDOMTransactionFactory<?> commitImpl) Constructs an instance.- Parameters:
identifier- identifier of transaction.storeTxFactories- the backing transaction store factories
-
-
Method Details
-
read
public FluentFuture<Optional<NormalizedNode>> read(LogicalDatastoreType store, YangInstanceIdentifier path) - Specified by:
readin interfaceDOMDataTreeReadOperations
-
exists
- Specified by:
existsin interfaceDOMDataTreeReadOperations
-
createTransaction
- Specified by:
createTransactionin classAbstractDOMBrokerTransaction<DOMStoreReadWriteTransaction>
-