Add MXBean to report shard registered DTCL/DCL info
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / OnDemandShardState.java
index ba6f229..fd79266 100644 (file)
@@ -38,7 +38,7 @@ public class OnDemandShardState extends OnDemandRaftState {
         return new Builder();
     }
 
-    public static class Builder extends AbstractBuilder<Builder> {
+    public static class Builder extends AbstractBuilder<Builder, OnDemandShardState> {
         private final OnDemandShardState state = new OnDemandShardState();
 
         @Override
@@ -60,5 +60,10 @@ public class OnDemandShardState extends OnDemandRaftState {
             state.commitCohortActors = actors;
             return self();
         }
+
+        @Override
+        public OnDemandShardState build() {
+            return super.build();
+        }
     }
 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.