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.mdsal.dom.spi.shard;
10 import com.google.common.annotations.Beta;
11 import java.util.Collection;
12 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
13 import org.opendaylight.mdsal.dom.api.DOMDataTreeShard;
16 * Indicates that a shard is writable via the provided {@link #createProducer(Collection) createProducer} method.
18 * @deprecated This interface is scheduled for removal in the next major release.
20 @Deprecated(forRemoval = true)
22 public interface WriteableDOMDataTreeShard extends DOMDataTreeShard {
25 * Create a producer that has the ability to write into the provided subtrees.
27 * @param paths Subtrees that the caller wants to write into.
30 DOMDataTreeShardProducer createProducer(Collection<DOMDataTreeIdentifier> paths);