Bug 4942 - Barrier send condition updated 37/32437/1
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Mon, 11 Jan 2016 21:28:52 +0000 (22:28 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Tue, 12 Jan 2016 17:55:28 +0000 (17:55 +0000)
commit6a499f9932f6965ce84e97e98d2cd188482e8327
treec8ceec767affaf2f2c3f75d617b0cebd52679adf
parent79e676044c4a2b1a3e13502dcc77b2a0948b5223
Bug 4942 - Barrier send condition updated

 - fixes uncovered case - if a barrier was scheduled and another
   barrier was sent due to exceeded "maxNonBarrierMessages", then we
   would cancel / not enqueue the scheduled barrier because of "sinceLast"
   time - this time is lower than "maxBarrierNanos"

Change-Id: I86f1be2ac0dc76241523ee3b6e6bf12bec90889e
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
(cherry picked from commit 62c0db21eb5d45415011647427ba9f7a0dc69302)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueManager.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/StackedOutboundQueue.java