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
Constructors Modifier Constructor Description protected
DOMBrokerReadWriteTransaction(Object identifier, Map<LogicalDatastoreType,? extends DOMStoreTransactionFactory> storeTxFactories, AbstractDOMTransactionFactory<?> commitImpl)
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DOMStoreReadWriteTransaction
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.AbstractDOMBrokerWriteTransaction
addToStringAttributes, cancel, commit, delete, merge, put
-
Methods inherited from class org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerTransaction
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.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 Detail
-
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 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
-
createTransaction
protected DOMStoreReadWriteTransaction createTransaction(LogicalDatastoreType key)
- Specified by:
createTransaction
in classAbstractDOMBrokerTransaction<DOMStoreReadWriteTransaction>
-
-