use of org.opendaylight.mdsal.dom.api.DOMDataTreeReadTransaction in project controller by opendaylight.
the class ShardedDOMDataBrokerDelegatingTransactionChain method newReadOnlyTransaction.
@Override
public DOMDataReadOnlyTransaction newReadOnlyTransaction() {
final DOMDataTreeReadTransaction readTxDelegate = txChainDelegate.newReadOnlyTransaction();
final DOMDataReadOnlyTransaction readTx = new ShardedDOMDataBrokerDelegatingReadTransaction(newTransactionIdentifier(), readTxDelegate);
transactionMap.put(readTxDelegate.getIdentifier(), readTx);
return readTx;
}
Aggregations