Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Define efficient serialization proxies
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
DistributedDataStoreInterface.java
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 4cd88ca2a8f509b629018dd58853227dd3346e23..deae01960b12da93ecbade4b82f411a3696a68a5 100644
(file)
--- 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;
*/
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.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 Distributed
DataStore via the OSGi registry.
+ * The public interface exposed
by an Abstract
DataStore via the OSGi registry.
*
* @author Thomas Pantelis
*/
public interface DistributedDataStoreInterface extends DOMStore {
*
* @author Thomas Pantelis
*/
public interface DistributedDataStoreInterface extends DOMStore {
- ActorContext getActorContext();
+ ActorUtils getActorUtils();
+
+ @Beta
+ <L extends DOMDataTreeChangeListener> ListenerRegistration<L> registerProxyListener(
+ YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard,
+ DOMDataTreeChangeListener delegate);
}
}