BUG 789: Stats Mgr to skip equality check on flow stats 63/6563/1
authorSurekha Bejgam <sbejgam@cisco.com>
Tue, 4 Feb 2014 17:20:32 +0000 (09:20 -0800)
committerSurekha Bejgam <sbejgam@cisco.com>
Mon, 28 Apr 2014 21:38:25 +0000 (14:38 -0700)
commitfdf0dda3051342c37c04930e15f13e9f5a93bd67
tree0fa0c9590d2584b08ed45acf8eaecf72bbaf5bfe
parent839df5ad55d947acfa1734ae43e93d190067feb2
BUG 789: Stats Mgr to skip equality check on flow stats

- Statistics Manager runs an equality check on the list of flow statistics
  received from the protocol plugin with its cached ones to decide whether
  to update or not, in order to avoid a cluster cache update.
  In presence of flows on the switch, the flow updated statistics are always
  different becasue of the milli and nano secs duration fields they contain

Change-Id: I8290457c1d0a43294e2449cb16c14d6c1e36481e
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Signed-off-by: Surekha Bejgam <sbejgam@cisco.com>
opendaylight/statisticsmanager/implementation/src/main/java/org/opendaylight/controller/statisticsmanager/internal/StatisticsManager.java