Optimize MetricsReporter class 02/14502/4
authorRobert Varga <rovarga@cisco.com>
Mon, 26 Jan 2015 16:00:59 +0000 (17:00 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 28 Jan 2015 16:18:59 +0000 (17:18 +0100)
commit96e2a4b777f756f3e77c3de833bfa2cd9a7f7400
tree11102c66391303c1d70819f6c5ce76c6e4f30bd5
parent4ed6793fcad89fcb4a3c0f7ec230753cb7ed31a9
Optimize MetricsReporter class

Constants should really be static, singleton instance should be static
and the inner field should never be exposed to outside world.

Change-Id: I37776b190cef6b0402f1478b22c47746d547619d
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/reporting/MetricsReporter.java