X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FPrefixShardRemovalLookup.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FPrefixShardRemovalLookup.java;h=0000000000000000000000000000000000000000;hb=5f587c3e2bfabc09fec49463d04a6fbeba414e9c;hp=87daea2eb7dc1e1f54a7a32b6108761323630824;hpb=a35607c5040d0fd561529fde3032c9f49393deeb;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemovalLookup.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemovalLookup.java deleted file mode 100644 index 87daea2eb7..0000000000 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemovalLookup.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.cluster.sharding.messages; - -import static java.util.Objects.requireNonNull; - -import org.opendaylight.controller.cluster.sharding.ShardedDataTreeActor; -import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier; - -/** - * 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. - */ -@Deprecated(forRemoval = true) -public class PrefixShardRemovalLookup { - private final DOMDataTreeIdentifier prefix; - - public PrefixShardRemovalLookup(final DOMDataTreeIdentifier prefix) { - this.prefix = requireNonNull(prefix); - } - - public DOMDataTreeIdentifier getPrefix() { - return prefix; - } - - @Override - public String toString() { - return "PrefixShardRemovalLookup{" + "prefix=" + prefix + '}'; - } -}