X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FRemovePrefixShard.java;h=6de1bb0eba7d74c83c4b6c61d4fee1343a468365;hp=fa74af62a27bab4c8804b514f6a5c1ff265b82b1;hb=c1336f9b497bc6867536a24f629c3f0b002ccb2f;hpb=d2d8e123aa7ee34c47f12b959592631c0538482b diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/RemovePrefixShard.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/RemovePrefixShard.java index fa74af62a2..6de1bb0eba 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/RemovePrefixShard.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/RemovePrefixShard.java @@ -13,8 +13,9 @@ 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 then notify the remote nodes of the Removal with {@link PrefixShardRemoved} message. + * 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. */ public class RemovePrefixShard { @@ -28,4 +29,11 @@ public class RemovePrefixShard { public DOMDataTreeIdentifier getPrefix() { return prefix; } + + @Override + public String toString() { + return "RemovePrefixShard{" + + "prefix=" + prefix + + '}'; + } }