Allow QueuedNotificationManager to batch notifications 94/46094/7
authorRobert Varga <rovarga@cisco.com>
Wed, 21 Sep 2016 15:29:57 +0000 (17:29 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 23 Sep 2016 09:27:08 +0000 (11:27 +0200)
commitddc17ff5daf9a58c5cf5f4ede3e49621c0db3d6c
tree472cc668c3020306b162bd5fc75814e48eef6d65
parent8aaf251e7eb6616384794e31bcd107ffe8fdba2e
Allow QueuedNotificationManager to batch notifications

This patch reworks the queueing logic so that notifications
get completely read from the queue and then propagated to the
listener invoker in one go.

Change-Id: I1a4caaa75f7a206abf4ff5b6829918bd25d79551
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/QueuedNotificationManager.java
common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/QueuedNotificationManagerTest.java