Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / AsyncReadOnlyTransaction.java
index 4beb5c62e335dcd2af46af1493a7ea8180d32f48..6de672d92135ec3a4781367d8982360967bb78ee 100644 (file)
@@ -10,17 +10,17 @@ 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 <P>
+ * @param <P>
  *            Type of path (subtree identifier), which represents location in
  *            tree
  * @param <D>
  *            Type of data (payload), which represents data payload
  */
+@Deprecated
 public interface AsyncReadOnlyTransaction<P extends Path<P>, D> extends AsyncReadTransaction<P, D>, AutoCloseable {
 
     /**
@@ -28,5 +28,5 @@ public interface AsyncReadOnlyTransaction<P extends Path<P>, D> extends AsyncRea
      *
      */
     @Override
-    public void close();
+    void close();
 }