Speedup ChannelOutboundQueue flush end 48/20148/1
authorRobert Varga <rovarga@cisco.com>
Tue, 12 May 2015 15:34:05 +0000 (17:34 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 12 May 2015 15:39:06 +0000 (17:39 +0200)
commitd25d4e071936d072cd4a847f4414bfe560bfd8a4
tree5b3256ca2408dc6d8aa2467d979f150c555cb486
parente6856ada13f0d5b06e0f6fdf74edd45b512b31fc
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>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/ChannelOutboundQueue.java