2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.controller.cluster.datastore;
11 import com.google.common.base.Optional;
12 import org.opendaylight.controller.cluster.datastore.shardstrategy.ShardStrategy;
14 import java.util.List;
17 public interface Configuration {
18 List<String> getMemberShardNames(String memberName);
19 Optional<String> getModuleNameFromNameSpace(String nameSpace);
20 Map<String, ShardStrategy> getModuleNameToShardStrategyMap();
21 List<String> getShardNamesFromModuleName(String moduleName);
22 List<String> getMembersFromShardName(String shardName);