Fix javadocs and enable doclint
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / FindLocalShard.java
index c415db6efe2fd3da9677db7d16239408253ff2e2..0179d8e0c528acdde37ac81d67b99025f71f57f1 100644 (file)
@@ -9,17 +9,24 @@
 package org.opendaylight.controller.cluster.datastore.messages;
 
 /**
- * FindLocalShard is a message that should be sent to the {@link org.opendaylight.controller.cluster.datastore.ShardManager}
- * when we need to find a reference to a LocalShard
+ * FindLocalShard is a message that should be sent to the
+ * org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager when we need to find a reference
+ * to a LocalShard.
  */
 public class FindLocalShard {
     private final String shardName;
+    private final boolean waitUntilInitialized;
 
-    public FindLocalShard(String shardName) {
+    public FindLocalShard(final String shardName, final boolean waitUntilInitialized) {
         this.shardName = shardName;
+        this.waitUntilInitialized = waitUntilInitialized;
     }
 
     public String getShardName() {
         return shardName;
     }
+
+    public boolean isWaitUntilInitialized() {
+        return waitUntilInitialized;
+    }
 }