BUG-3219: Throw away message as soon as we send it out 92/20892/1
authorRobert Varga <rovarga@cisco.com>
Thu, 21 May 2015 12:57:48 +0000 (14:57 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 21 May 2015 12:59:10 +0000 (14:59 +0200)
commitbe5f0cac1babcfccc7209657f2541dd0818c5cb0
treee1dae1713d92542e451adef46740180e7e940e2c
parentf84d1445e610bf985caa1c4e41c35954ea664b2c
BUG-3219: Throw away message as soon as we send it out

In order to relieve pressure on memory, do not wait until the entire
buffer is acknowledged, but clear the message as soon as we send it to
the network.

Change-Id: Ie64c1e0a011e1d1a1a0a98a21d9cc90642f81e6c
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueEntry.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueImpl.java