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
ConstructorsModifierConstructorDescriptionprotected
DOMBrokerReadWriteTransaction
(Object identifier, Map<LogicalDatastoreType, ? extends DOMStoreTransactionFactory> storeTxFactories, AbstractDOMTransactionFactory<?> commitImpl) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMStoreReadWriteTransaction
exists
(LogicalDatastoreType store, YangInstanceIdentifier path) read
(LogicalDatastoreType store, YangInstanceIdentifier path) Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction
addToStringAttributes, cancel, commit, delete, merge, put
Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction
closeSubtransaction, getIdentifier, getSubtransaction, getSubtransaction, 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.mdsal.dom.api.DOMDataTreeWriteOperations
delete, merge, put
Methods inherited from interface org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction
cancel, commit
Methods 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:
read
in interfaceDOMDataTreeReadOperations
-
exists
- Specified by:
exists
in interfaceDOMDataTreeReadOperations
-
createTransaction
- Specified by:
createTransaction
in classAbstractDOMBrokerTransaction<DOMStoreReadWriteTransaction>
-