2 * Copyright (c) 2017 Brocade Communications 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.mdsal.dom.api;
11 * A transaction that provides read/write access to a logical data store.
14 * For more information on usage and examples, please see the documentation in {@link DOMDataTreeReadTransaction}
15 * and {@link DOMDataTreeWriteTransaction}.
17 // FIXME: 4.0.0: extend DOMDataTreeReadOperations instead of DOMDataTreeReadTransaction
18 public interface DOMDataTreeReadWriteTransaction extends DOMDataTreeWriteTransaction, DOMDataTreeReadTransaction {
20 * This method is an API design mistake. Users should not use it and use {@link #cancel()} instead. Implementations
21 * should not override it and rely instead of its default implementation, which calls {@link #cancel()}.
23 * @deprecated Use {@link #cancel()} instead.
27 default void close() {