X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?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;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=c7cc91528b7c255f60416df67e1ebddf4660c7b5;hpb=b1e455ac4685602b7b3290192906c607d2c92c71;p=controller.git 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 c7cc91528b..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,14 +12,15 @@ import org.opendaylight.yangtools.concepts.Path; /** - * * A common parent for all transactions which operate on a conceptual data tree. * + *

* See derived transaction types for more concrete behavior: *

* * Implementation Note: This interface is not intended to be implemented @@ -28,16 +29,10 @@ import org.opendaylight.yangtools.concepts.Path; * @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(); }