Bug 73: Thread safety in FRM 06/2306/2
authorAlessandro Boch <aboch@cisco.com>
Thu, 31 Oct 2013 19:46:15 +0000 (12:46 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 4 Nov 2013 18:34:44 +0000 (18:34 +0000)
commit0df4686c7669276f3dfecb346c4881829012ac80
tree4b480c8c7bb7cfd654943672894247cbf4a0fb2c
parent1154766753880dc4db6472c2b1c91555d4d0da99
Bug 73: Thread safety in FRM

- Have nodeFlows and groupFlows non cluster caches
- Update the two above indirectly on every installedSwView cache update (local or remote)
- Have the update be performed by the FRM event thread only so that all the updates are streamlined

Change-Id: Ie5fa6ebee9433058d4028cff51ed1369ebd7b2a2
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/Activator.java
opendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/ForwardingRulesManager.java