Adding support for completing senderFutures when actor is stopped, closing ticket #894. Also renaming DurableEventBasedDispatcher to DurableDispatcher
This commit is contained in:
parent
e94b722a4b
commit
49883d8c59
8 changed files with 61 additions and 16 deletions
|
|
@ -52,7 +52,7 @@ The durable dispatchers and their configuration options reside in the
|
|||
You configure durable mailboxes through the "Akka"-only durable dispatchers, the
|
||||
actor is oblivious to which type of mailbox it is using. Here is an example::
|
||||
|
||||
val dispatcher = DurableEventBasedDispatcher(
|
||||
val dispatcher = DurableDispatcher(
|
||||
"my:service",
|
||||
FileDurableMailboxStorage)
|
||||
// Then set the actors dispatcher to this dispatcher
|
||||
|
|
@ -63,7 +63,7 @@ or for a thread-based durable dispatcher::
|
|||
self,
|
||||
FileDurableMailboxStorage)
|
||||
|
||||
There are 2 different durable dispatchers, ``DurableEventBasedDispatcher`` and
|
||||
There are 2 different durable dispatchers, ``DurableDispatcher`` and
|
||||
``DurablePinnedDispatcher``, which are durable versions of
|
||||
``Dispatcher`` and ``PinnedDispatcher``.
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ mailboxes. Read more in the Redis documentation on how to do that.
|
|||
|
||||
Here is an example of how you can configure your dispatcher to use this mailbox::
|
||||
|
||||
val dispatcher = DurableEventBasedDispatcher(
|
||||
val dispatcher = DurableDispatcher(
|
||||
"my:service",
|
||||
RedisDurableMailboxStorage)
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ there will not be that much more work to set up this durable mailbox.
|
|||
|
||||
Here is an example of how you can configure your dispatcher to use this mailbox::
|
||||
|
||||
val dispatcher = DurableEventBasedDispatcher(
|
||||
val dispatcher = DurableDispatcher(
|
||||
"my:service",
|
||||
ZooKeeperDurableMailboxStorage)
|
||||
|
||||
|
|
@ -196,7 +196,7 @@ Beanstalk is a simple, fast work queue. This means that you have to start up a
|
|||
Beanstalk server that can host these durable mailboxes. Read more in the
|
||||
Beanstalk documentation on how to do that. ::
|
||||
|
||||
val dispatcher = DurableEventBasedDispatcher(
|
||||
val dispatcher = DurableDispatcher(
|
||||
"my:service",
|
||||
BeanstalkDurableMailboxStorage)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue