Fix warnings/javadocs in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / LocalShardNotFound.java
1 /*
2  * Copyright (c) 2014 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.datastore.messages;
10
11 /**
12  * LocalShardNotFound is a message that is sent by the
13  * {@link org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager}
14  * when it cannot locate a shard in it's local registry with the shardName specified.
15  */
16 public class LocalShardNotFound {
17     private final String shardName;
18
19     /**
20      * Constructs an instance.
21      *
22      * @param shardName the name of the shard that could not be found
23      */
24     public LocalShardNotFound(String shardName) {
25         this.shardName = shardName;
26     }
27
28     public String getShardName() {
29         return shardName;
30     }
31 }

©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.