X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDistributedDataStoreInterface.java;h=59ccc58d9d2bbc84232d54c3bfe8b6b1c18b78ba;hp=b678d174b0a3d26e75c4607c731d448673ca1aff;hb=f0e8f9a9547dca1e232a7e8d3912a86de69bcc6a;hpb=dceb9db7853dabfbd4abdfb3d886a79871097831 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 b678d174b0..59ccc58d9d 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,28 @@ */ package org.opendaylight.controller.cluster.datastore; -import org.opendaylight.controller.cluster.datastore.utils.ActorContext; -import org.opendaylight.controller.sal.core.spi.data.DOMStore; +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(); -} \ No newline at end of file + ActorUtils getActorUtils(); + + @Beta + ListenerRegistration registerShardConfigListener( + YangInstanceIdentifier internalPath, DOMDataTreeChangeListener delegate); + + @Beta + ListenerRegistration registerProxyListener( + YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard, + DOMDataTreeChangeListener delegate); +}