X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDistributedDataStoreInterface.java;h=deae01960b12da93ecbade4b82f411a3696a68a5;hb=99f80f27bee37bb23e345420bf14bb7bb4793c28;hp=4cd88ca2a8f509b629018dd58853227dd3346e23;hpb=402dbc040ddb5dfc488320356b5a36c66d59c36e;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreInterface.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreInterface.java index 4cd88ca2a8..deae01960b 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreInterface.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreInterface.java @@ -7,15 +7,24 @@ */ package org.opendaylight.controller.cluster.datastore; -import org.opendaylight.controller.cluster.datastore.utils.ActorContext; +import com.google.common.annotations.Beta; +import org.opendaylight.controller.cluster.datastore.utils.ActorUtils; +import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener; import org.opendaylight.mdsal.dom.spi.store.DOMStore; +import org.opendaylight.yangtools.concepts.ListenerRegistration; +import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; /** - * The public interface exposed vi a DistributedDataStore via the OSGi registry. + * The public interface exposed by an AbstractDataStore via the OSGi registry. * * @author Thomas Pantelis */ public interface DistributedDataStoreInterface extends DOMStore { - ActorContext getActorContext(); + ActorUtils getActorUtils(); + + @Beta + ListenerRegistration registerProxyListener( + YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard, + DOMDataTreeChangeListener delegate); }