2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.md.sal.dom.api;
10 import org.opendaylight.controller.md.sal.common.api.data.TransactionChain;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
12 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
15 * A chain of DOM Data transactions.
18 * Transactions in a chain need to be committed in sequence and each
19 * transaction should see the effects of previous transactions as if they happened. A chain
20 * makes no guarantees of atomicity, in fact transactions are committed as soon as possible.
23 * This interface is type capture of {@link TransactionChain} for DOM Data Contracts.
25 * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMTransactionChain} instead.
27 @Deprecated(forRemoval = true)
28 public interface DOMTransactionChain extends TransactionChain<YangInstanceIdentifier, NormalizedNode<?, ?>> {
31 DOMDataReadOnlyTransaction newReadOnlyTransaction();
34 DOMDataReadWriteTransaction newReadWriteTransaction();
37 DOMDataWriteTransaction newWriteOnlyTransaction();