2 * Copyright (c) 2015 Brocade Communications 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
8 package org.opendaylight.controller.cluster.datastore;
10 import akka.actor.Props;
12 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
13 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
16 * An interface for creating a Shard actor Props instance.
18 * @author Thomas Pantelis
20 public interface ShardPropsCreator {
22 Props newProps(ShardIdentifier shardId, Map<String, String> peerAddresses, DatastoreContext datastoreContext,
23 SchemaContext schemaContext);