1 package org.opendaylight.controller.cluster.datastore.messages;
3 import com.google.common.base.Preconditions;
6 * The FindPrimary message is used to locate the primary of any given shard
8 * TODO : Make this serializable
10 public class FindPrimary{
11 private final String shardName;
13 public FindPrimary(String shardName){
15 Preconditions.checkNotNull(shardName, "shardName should not be null");
17 this.shardName = shardName;
20 public String getShardName() {