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%2FProducerRemoved.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2Fmessages%2FProducerRemoved.java;h=1cc33a03d66f99043a421cd6a68d1bfd6ac10454;hp=0000000000000000000000000000000000000000;hb=877c428f2897f6e3b11efd25589a84aa0c660a31;hpb=823bd74f34ee1c651f1f90daeef386a35c68d431 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/ProducerRemoved.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/ProducerRemoved.java new file mode 100644 index 0000000000..1cc33a03d6 --- /dev/null +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/messages/ProducerRemoved.java @@ -0,0 +1,32 @@ +/* + * 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.util.Collection; +import org.opendaylight.controller.cluster.sharding.ShardedDataTreeActor; +import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier; + +/** + * Message sent to local {@link ShardedDataTreeActor}'s when there was an + * attempt to close a producer on the local node. + */ +@Beta +public class ProducerRemoved { + + private final Collection subtrees; + + public ProducerRemoved(final Collection subtrees) { + this.subtrees = subtrees; + } + + public Collection getSubtrees() { + return subtrees; + } +}