Deprecate ManagedNewTransactionRunner et al.
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / infra / RetryingManagedNewTransactionRunner.java
index d2dc96709dfd0c5afb4670daee96c3091c364e63..7f282206fcee7b52357a72f9e5bc8cba7082a493 100644 (file)
@@ -41,8 +41,10 @@ import org.opendaylight.mdsal.common.api.ReadFailedException;
  * another {@link Executor} to be used for the retries by using the alternative constructor.
  *
  * @author Michael Vorburger.ch & Stephen Kitt
+ * @deprecated Use {@link org.opendaylight.mdsal.binding.util.RetryingManagedNewTransactionRunner} instead.
  */
 @Beta
+@Deprecated
 // Do *NOT* mark this as @Singleton, because users choose Impl; and as long as this in API, because of https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines#Nota_Bene
 public class RetryingManagedNewTransactionRunner extends RetryingManagedNewTransactionRunnerImpl {