Bump versions to 4.0.0-SNAPSHOT
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / messages / ProducerCreated.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.cluster.sharding.messages;
10
11 import com.google.common.annotations.Beta;
12 import java.util.Collection;
13 import org.opendaylight.controller.cluster.sharding.ShardedDataTreeActor;
14 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
15
16 /**
17  * Message sent to local {@link ShardedDataTreeActor}'s when there was an
18  * attempt to create a producer on the local node.
19  */
20 @Beta
21 @Deprecated(forRemoval = true)
22 public class ProducerCreated {
23     private final Collection<DOMDataTreeIdentifier> subtrees;
24
25     public ProducerCreated(final Collection<DOMDataTreeIdentifier> subtrees) {
26         this.subtrees = subtrees;
27     }
28
29     public Collection<DOMDataTreeIdentifier> getSubtrees() {
30         return subtrees;
31     }
32 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.