Speedup ChannelOutboundQueue flush end 49/20949/1
authorRobert Varga <rovarga@cisco.com>
Tue, 12 May 2015 15:34:05 +0000 (17:34 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 22 May 2015 11:01:18 +0000 (13:01 +0200)
commit291ee196f45bd603979c10ecacae117b41c60881
tree86c26340f2c655c70a7b209d411d64a8263ec167
parentd51416320a39973f1cc8fe6de58e6ec769d8ac90
Speedup ChannelOutboundQueue flush end

At the end of a flush we report statistics at debug, but that requires
System.nanoTime(). Make that call conditional on debug being enabled.

Change-Id: Ibdf02b93ca12d8930227de059d107aa3c4ccb88d
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit d25d4e071936d072cd4a847f4414bfe560bfd8a4)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/ChannelOutboundQueue.java