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%2FAsyncReadOnlyTransaction.java;h=e2cd7bd4f6ab19c90047475656bc08c8f329e206;hb=refs%2Fchanges%2F57%2F84857%2F10;hp=ecf94cdfb18bb32a55c79cdae14d089f45a7ddbb;hpb=d7d5c4d3e7eaed528961081718c47a0960517ace;p=controller.git diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadOnlyTransaction.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadOnlyTransaction.java index ecf94cdfb1..e2cd7bd4f6 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadOnlyTransaction.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadOnlyTransaction.java @@ -10,23 +10,23 @@ package org.opendaylight.controller.md.sal.common.api.data; import org.opendaylight.yangtools.concepts.Path; /** - * Read-only transaction, which provides stable view of data - * and is {@link AutoCloseable} resource. + * Marker interface for a read-only view of the data tree. * * @see AsyncReadTransaction * -* @param

+ * @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 AsyncReadOnlyTransaction

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