Keep track of the tables we discover 97/5297/6
authorRobert Varga <rovarga@cisco.com>
Thu, 13 Feb 2014 03:23:54 +0000 (04:23 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 15 Feb 2014 01:44:56 +0000 (01:44 +0000)
commit7d1a7a08f2618ec0de1a97b561225c899d5c5715
tree0d18fea1d95b5bafa75fba457888c4dc5789b549
parent0840e8281ad7e43b3c1c792c80d44b671a946f7a
Keep track of the tables we discover

NodeStatisticsHandler has always the most uptodate information about
which tables were discovered. Let's cache the table IDs -- we will
need them for sending out follow-up requests.

And now that we do that, we do not have to read the tables from
DataProviderService just to get the keys -- use whatever we cached.

Change-Id: I9550ae3330215277d373ec0b2ea67945ef0e7c5c
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/NodeStatisticsHandler.java
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/StatisticsProvider.java