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);
}
@Override
public String toString() {
- return "RemovePrefixShard{"
+ return "PrefixShardRemovalLookup{"
+ "prefix=" + prefix
+ '}';
}