Stats Mgr to skip equality check on flow stats 21/5121/2
authorAlessandro Boch <aboch@cisco.com>
Tue, 4 Feb 2014 17:20:32 +0000 (09:20 -0800)
committerAlessandro Boch <aboch@cisco.com>
Tue, 4 Feb 2014 18:30:34 +0000 (10:30 -0800)
commit4cff32bcf72cca1bbc6f6a44eb70d7c159df38a6
treee5eb7d862324738818376e3796e448696c12d2f1
parent14ebd2da24a8122c1059e73d80aa1c50afb553dd
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>
opendaylight/statisticsmanager/implementation/src/main/java/org/opendaylight/controller/statisticsmanager/internal/StatisticsManager.java