Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Initial Configuration for Clustering
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
shardstrategy
/
ShardStrategy.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategy.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategy.java
index f75eb2d863e65a636397b254d66607af588134c5..2df945edd5e9b9c16ed454e55859611afe8a66e0 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategy.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategy.java
@@
-8,7
+8,7
@@
package org.opendaylight.controller.cluster.datastore.shardstrategy;
package org.opendaylight.controller.cluster.datastore.shardstrategy;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.
Yang
InstanceIdentifier;
/**
* The role of ShardStrategy is to figure out which Shards a given piece of data belongs to
/**
* The role of ShardStrategy is to figure out which Shards a given piece of data belongs to
@@
-20,5
+20,5
@@
public interface ShardStrategy {
* @param path The location of the data in the logical tree
* @return
*/
* @param path The location of the data in the logical tree
* @return
*/
- String findShard(InstanceIdentifier path);
+ String findShard(
Yang
InstanceIdentifier path);
}
}