Barrier send condition updated 67/32367/2
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Mon, 11 Jan 2016 21:28:52 +0000 (22:28 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Mon, 11 Jan 2016 22:21:36 +0000 (23:21 +0100)
commit62c0db21eb5d45415011647427ba9f7a0dc69302
treea43758054237274b670bf442ab711eb846789326
parent3d7142f71d50155111db46032776fa22260afafc
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>
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