Centralize targetNodeRef in the NodeStatisticsHandler 98/5298/7
authorRobert Varga <rovarga@cisco.com>
Thu, 13 Feb 2014 03:41:07 +0000 (04:41 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 15 Feb 2014 02:09:39 +0000 (02:09 +0000)
commite70bff6d53f5c218488543b39a0196b5a9fb5185
treef3e8db7575530ba2957ed3e5a00aa356b0f34a9b
parent7d1a7a08f2618ec0de1a97b561225c899d5c5715
Centralize targetNodeRef in the NodeStatisticsHandler

There's no reason to allocate it over and over again, we will be using
for a long time. Also push the DataProviderService into
NodeStatisticsHandler such that we do not have circular references.

Change-Id: I1e2444644a27516c87ca93d386f5dc2ac334ffaf
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/FlowCapableTracker.java
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