2 * Copyright (c) 2016 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
8 package org.opendaylight.controller.cluster.datastore.messages;
10 import org.opendaylight.controller.cluster.datastore.DatastoreContext;
11 import org.opendaylight.controller.cluster.datastore.Shard;
12 import org.opendaylight.controller.cluster.datastore.config.PrefixShardConfiguration;
15 * Message sent to the ShardManager to create a shard located at a certain logical position in the dataTree.
17 public class CreatePrefixedShard {
19 private final PrefixShardConfiguration config;
20 private final DatastoreContext context;
21 private final Shard.Builder builder;
23 public CreatePrefixedShard(final PrefixShardConfiguration config,
24 final DatastoreContext context,
25 final Shard.Builder builder) {
27 this.context = context;
28 this.builder = builder;
31 public PrefixShardConfiguration getConfig() {
35 public DatastoreContext getContext() {
39 public Shard.Builder getShardBuilder() {