From: Vratko Polak Date: Thu, 22 Dec 2016 09:39:00 +0000 (+0100) Subject: Bug 5280: Add ProgressTracker X-Git-Tag: release/carbon~313 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=a36d5af3e383cbddc31527a6d05bc23de3f3571d;hp=a36d5af3e383cbddc31527a6d05bc23de3f3571d;ds=sidebyside Bug 5280: Add ProgressTracker ProgressTracker determines the tracking delay required to keep the outbound queue reasonably full. Unlike Guava's RateLimiter, we can assume cooperative callers, hence we can use an enqueue-and-wait strategy as appropriate. This lowers contention in multi-threaded access, as the wait part of the cycle is spent outside the lock. Change-Id: Iaea65c171455b89d7117431599ebc65fe0a4f19a Signed-off-by: Vratko Polak Signed-off-by: Robert Varga ---