Change HostTracker's ArrayLists to ConcurrentMaps. Add new CLIs 86/886/2
authorMaurice Qureshi <maquresh@cisco.com>
Thu, 15 Aug 2013 22:43:06 +0000 (15:43 -0700)
committerMaurice Qureshi <maquresh@cisco.com>
Fri, 16 Aug 2013 01:07:34 +0000 (18:07 -0700)
commit27b845b753f14e44fe46938d7980b06635dd058f
treecfeefacea20cc7202aca0befc77a3afab09e579f
parentcfbedc2cc488643b4e816f1a1db86e2651e46984
Change HostTracker's ArrayLists to ConcurrentMaps. Add new CLIs

1)Initially some data structures were used which were used ony in main thread. As the code has
evolved, those data structures are being accessed in multiple threads now. Therefore
changed two ArrayList to ConcurrentMaps

2) Changed the name of Caches in consistent with other modules "hosttracker.activeHosts" and "hosttracker.InactiveHosts"

3) Added New CLIs to dump couple of data structures

Change-Id: I06b68e4e559b0193ec502612d6ea29c634bd9a81
Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTracker.java
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/utils/NetUtils.java