Bug 5740: Add Deque-based control-aware mailbox 18/57818/3
authorTom Pantelis <tompantelis@gmail.com>
Thu, 25 May 2017 13:39:40 +0000 (09:39 -0400)
committerRobert Varga <nite@hq.sk>
Mon, 29 May 2017 09:16:33 +0000 (09:16 +0000)
commit6d03458bb71b7c0308746577d7e3035d33971c9b
treef4b28d57489c8be78cd7a21384da952cd84d9835
parentfb81da23c32b8a332d2cc25e4b15e13b3d2963cd
Bug 5740: Add Deque-based control-aware mailbox

Since akka persistence uses stashing, it requires a mailbox to be
Deque-based to provide the enqueueFirst method. However, the
control-aware mailboxes provided by akka are not Deque-based so we
need one that is.

Change-Id: I74f214c725eff16aba093aad3f2f6eed80948ee4
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteredBoundedMailbox.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java [new file with mode: 0644]

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.