Add sender actor to the ForwardingDataTreeChangeListener 59/90259/1
authorTibor Král <tibor.kral@pantheon.tech>
Thu, 4 Jun 2020 16:50:51 +0000 (18:50 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 5 Jun 2020 08:24:00 +0000 (08:24 +0000)
commitd752aa7aa98aabe8544a80abd14dbeb1712fea80
treea6e3c13cf769587ab45013bb4918d25ae25736ea
parent010261cc7d6199cf31acea8639271e91e3b003d9
Add sender actor to the ForwardingDataTreeChangeListener

The ForwardingDataTreeChangeListener is created when a shard
registers new listener. It then sends dataTreeChanges to said listener
but doesn't specify the sender. The RootListenerActor however needs
to know which shard produced the DataTreeChanged message.

Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
Change-Id: I4971cfaefa10c3136e0ddcc350ec7e00e68e6b42
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerSupport.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ForwardingDataTreeChangeListener.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ForwardingDataTreeChangeListenerTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.