Bug 3376: Add debug context for CDS transactions
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / jmx / mbeans / DatastoreConfigurationMXBeanImpl.java
index 261b93de56e057874a44600495e977d73b643bd4..b5f01aeedfadf3492ca282030e1ab864c16da557 100644 (file)
@@ -104,6 +104,11 @@ public class DatastoreConfigurationMXBeanImpl extends AbstractMXBean implements
         return context.getTransactionCreationInitialRateLimit();
     }
 
+    @Override
+    public boolean getTransactionContextDebugEnabled() {
+        return context.isTransactionDebugContextEnabled();
+    }
+
     @Override
     public int getMaxShardDataChangeExecutorPoolSize() {
         return context.getDataStoreProperties().getMaxDataChangeExecutorPoolSize();