BUG-7965 Switch distributed-data backend to a separate shard
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / messages / PrefixShardRemovalLookup.java
@@ -13,15 +13,14 @@ import org.opendaylight.controller.cluster.sharding.ShardedDataTreeActor;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
 
 /**
- * Sent to the local {@link ShardedDataTreeActor} to notify of a shard removal on the local node.
- * The local actor should update the configuration so that the change is picked up by other CDS Node Agents and
- * backend ShardManagers.
+ * Sent to the local {@link ShardedDataTreeActor} to initiate the lookup of the shard, once the shard is removed from
+ * the system entirely the actor responds with a success.
  */
-public class RemovePrefixShard {
+public class PrefixShardRemovalLookup {
 
     private final DOMDataTreeIdentifier prefix;
 
-    public RemovePrefixShard(final DOMDataTreeIdentifier prefix) {
+    public PrefixShardRemovalLookup(final DOMDataTreeIdentifier prefix) {
 
         this.prefix = Preconditions.checkNotNull(prefix);
     }
@@ -32,7 +31,7 @@ public class RemovePrefixShard {
 
     @Override
     public String toString() {
-        return "RemovePrefixShard{"
+        return "PrefixShardRemovalLookup{"
                 + "prefix=" + prefix
                 + '}';
     }