Remove prefix shard leftovers
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / DistributedDataStoreInterface.java
1 /*
2  * Copyright (c) 2016 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.cluster.datastore;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.controller.cluster.datastore.utils.ActorUtils;
12 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
13 import org.opendaylight.mdsal.dom.spi.store.DOMStore;
14 import org.opendaylight.yangtools.concepts.ListenerRegistration;
15 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
16
17 /**
18  * The public interface exposed by an AbstractDataStore via the OSGi registry.
19  *
20  * @author Thomas Pantelis
21  */
22 public interface DistributedDataStoreInterface extends DOMStore {
23
24     ActorUtils getActorUtils();
25
26     @Beta
27     <L extends DOMDataTreeChangeListener> ListenerRegistration<L> registerProxyListener(
28             YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard,
29             DOMDataTreeChangeListener delegate);
30 }