Bug 5740: Add Deque-based control-aware mailbox 98/58398/2
authorTom Pantelis <tompantelis@gmail.com>
Thu, 25 May 2017 13:39:40 +0000 (09:39 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 9 Jun 2017 00:45:56 +0000 (00:45 +0000)
commit6c4aaa51af3970926856d5c51b304fde6c0a32eb
tree2298992617576c3d661067cfc1221fa3c7271a14
parent721e8da782309beefe3dc6ec6fee3ecb990705e5
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]