X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FAsyncTransaction.java;h=50b0798f8ddfd91bb3cf3297ce1c091ee4075d28;hp=23ca275ef20ef24a710b39d5f06ff96fa9ca00ce;hb=2a6aa1775604906755883f810ee9ea6d5f286135;hpb=721b580748cb93b3dac952ff1f111d0ab0da0c79 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncTransaction.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncTransaction.java index 23ca275ef2..50b0798f8d 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncTransaction.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncTransaction.java @@ -12,22 +12,27 @@ import org.opendaylight.yangtools.concepts.Path; /** + * A common parent for all transactions which operate on a conceptual data tree. * - * @author + *

+ * See derived transaction types for more concrete behavior: + *

+ * + * Implementation Note: This interface is not intended to be implemented + * by users of MD-SAL. * * @param

Type of path (subtree identifier), which represents location in tree * @param Type of data (payload), which represents data payload */ +@Deprecated(forRemoval = true) public interface AsyncTransaction

,D> extends // - Identifiable, - AutoCloseable { - - @Override - public Object getIdentifier(); + Identifiable { - /** - * Closes transaction and releases all resources associated with it. - */ @Override - public void close(); + Object getIdentifier(); }