X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FPrefixShardRemoved.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FPrefixShardRemoved.java;h=5f840711b3f2d10f6eaa13c983527f6dffd6ad4a;hb=877c428f2897f6e3b11efd25589a84aa0c660a31;hp=0000000000000000000000000000000000000000;hpb=823bd74f34ee1c651f1f90daeef386a35c68d431;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemoved.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemoved.java new file mode 100644 index 0000000000..5f840711b3 --- /dev/null +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/PrefixShardRemoved.java @@ -0,0 +1,33 @@ +/* + * 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 com.google.common.annotations.Beta; +import java.io.Serializable; +import org.opendaylight.controller.cluster.sharding.ShardedDataTreeActor; +import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier; + +/** + * Message sent to remote {@link ShardedDataTreeActor}'s when there is an + * attempt to remove a shard from the sharding service. + */ +@Beta +public class PrefixShardRemoved implements Serializable { + private static final long serialVersionUID = 1L; + + private final DOMDataTreeIdentifier prefix; + + public PrefixShardRemoved(final DOMDataTreeIdentifier prefix) { + this.prefix = prefix; + } + + public DOMDataTreeIdentifier getPrefix() { + return prefix; + } +}