Add more debug logging for DTCL registration/notification code paths
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / EnableNotification.java
index 67dab7e663557e6236de61df5b11a7ff39cc02c0..3cd96177f5c52c7edd4a9b2522ca8c2c77cd09a1 100644 (file)
@@ -10,12 +10,18 @@ package org.opendaylight.controller.cluster.datastore.messages;
 
 public class EnableNotification {
     private final boolean enabled;
+    private final String logContext;
 
-    public EnableNotification(boolean enabled) {
+    public EnableNotification(boolean enabled, String logContext) {
         this.enabled = enabled;
+        this.logContext = logContext;
     }
 
     public boolean isEnabled() {
         return enabled;
     }
+
+    public String getLogContext() {
+        return logContext;
+    }
 }