Implement managed transactions
[mdsal.git] / binding / mdsal-binding-util / src / main / java / org / opendaylight / mdsal / binding / util / TypedReadWriteTransaction.java
1 /*
2  * Copyright © 2018 Red Hat, Inc. and others.
3  *
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
7  */
8 package org.opendaylight.mdsal.binding.util;
9
10 import org.opendaylight.mdsal.binding.api.ReadWriteTransaction;
11
12 /**
13  * Read-write transaction which is specific to a single logical datastore (configuration or operational). Designed
14  * for use with {@link ManagedNewTransactionRunner} (it doesn’t support explicit cancel or commit operations).
15  *
16  * @param <D> The logical datastore handled by the transaction.
17  * @see ReadWriteTransaction
18  */
19 public interface TypedReadWriteTransaction<D extends Datastore>
20         extends TypedReadTransaction<D>, TypedWriteTransaction<D> {
21 }