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=861cd610ca7aca8b0e6252007930ad30ed239da0;hpb=f41c5e6e6f6e10b36b1e4b1992877e38e718c8fb;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 861cd610ca..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,24 +7,24 @@ */ package org.opendaylight.controller.cluster.datastore; -import org.opendaylight.controller.cluster.datastore.utils.ActorContext; -import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker.DataChangeScope; -import org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeListener; +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; -import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; /** - * 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 { - @Deprecated - >> ListenerRegistration - registerChangeListener(YangInstanceIdentifier path, L listener, DataChangeScope scope); + ActorUtils getActorUtils(); - ActorContext getActorContext(); + @Beta + ListenerRegistration registerProxyListener( + YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard, + DOMDataTreeChangeListener delegate); }