Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / md / sal / dom / broker / impl / SerializedDOMDataBroker.java
index db6192b348e12775f5aae0c42606aa84f7741d14..1d5912cc6a23b917f1844026f650efb1237e56d8 100644 (file)
@@ -39,6 +39,7 @@ import org.slf4j.LoggerFactory;
  * <p>
  * This executor does not have an upper bound on subtask timeout.
  */
+@Deprecated
 public class SerializedDOMDataBroker extends AbstractDOMDataBroker {
     private static final Logger LOG = LoggerFactory.getLogger(SerializedDOMDataBroker.class);
     private final DurationStatisticsTracker commitStatsTracker = DurationStatisticsTracker.createConcurrent();
@@ -73,7 +74,7 @@ public class SerializedDOMDataBroker extends AbstractDOMDataBroker {
             commitFuture = executor.submit(new CommitCoordinationTask<>(transaction, cohorts, commitStatsTracker,
                     futureValueSupplier));
         } catch (RejectedExecutionException e) {
-            LOG.error("The commit executor's queue is full - submit task was rejected. \n" + executor, e);
+            LOG.error("The commit executor {} queue is full - submit task was rejected. \n", executor, e);
             commitFuture = Futures.immediateFailedFuture(new TransactionCommitFailedException(
                     "Could not submit the commit task - the commit queue capacity has been exceeded.", e));
         }