Corrected several misspellings of the word "losing".
This commit is contained in:
parent
ecc916abfd
commit
269a3b3647
6 changed files with 8 additions and 8 deletions
|
|
@ -128,7 +128,7 @@ import akka.dispatch.Dispatchers
|
|||
* reduce memory consumption. This is done by the application specific implementation of
|
||||
* the entity actors for example by defining receive timeout (`context.setReceiveTimeout`).
|
||||
* If a message is already enqueued to the entity when it stops itself the enqueued message
|
||||
* in the mailbox will be dropped. To support graceful passivation without loosing such
|
||||
* in the mailbox will be dropped. To support graceful passivation without losing such
|
||||
* messages the entity actor can send [[ShardRegion.Passivate]] to its parent `ShardRegion`.
|
||||
* The specified wrapped message in `Passivate` will be sent back to the entity, which is
|
||||
* then supposed to stop itself. Incoming messages will be buffered by the `ShardRegion`
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ object ShardRegion {
|
|||
* reduce memory consumption. This is done by the application specific implementation of
|
||||
* the entity actors for example by defining receive timeout (`context.setReceiveTimeout`).
|
||||
* If a message is already enqueued to the entity when it stops itself the enqueued message
|
||||
* in the mailbox will be dropped. To support graceful passivation without loosing such
|
||||
* in the mailbox will be dropped. To support graceful passivation without losing such
|
||||
* messages the entity actor can send this `Passivate` message to its parent `ShardRegion`.
|
||||
* The specified wrapped `stopMessage` will be sent back to the entity, which is
|
||||
* then supposed to stop itself. Incoming messages will be buffered by the `ShardRegion`
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ class AutoDownSpec extends AkkaSpec {
|
|||
expectMsg(DownCalled(memberC.address))
|
||||
}
|
||||
|
||||
"not down unreachable when loosing leadership inbetween detection and specified duration" in {
|
||||
"not down unreachable when losing leadership inbetween detection and specified duration" in {
|
||||
val a = autoDownActor(2.seconds)
|
||||
a ! LeaderChanged(Some(memberA.address))
|
||||
a ! UnreachableMember(memberC)
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ If the state of the entities are persistent you may stop entities that are not u
|
|||
reduce memory consumption. This is done by the application specific implementation of
|
||||
the entity actors for example by defining receive timeout (``context.setReceiveTimeout``).
|
||||
If a message is already enqueued to the entity when it stops itself the enqueued message
|
||||
in the mailbox will be dropped. To support graceful passivation without loosing such
|
||||
in the mailbox will be dropped. To support graceful passivation without losing such
|
||||
messages the entity actor can send ``ShardRegion.Passivate`` to its parent ``Shard``.
|
||||
The specified wrapped message in ``Passivate`` will be sent back to the entity, which is
|
||||
then supposed to stop itself. Incoming messages will be buffered by the ``Shard``
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ If the state of the entities are persistent you may stop entities that are not u
|
|||
reduce memory consumption. This is done by the application specific implementation of
|
||||
the entity actors for example by defining receive timeout (``context.setReceiveTimeout``).
|
||||
If a message is already enqueued to the entity when it stops itself the enqueued message
|
||||
in the mailbox will be dropped. To support graceful passivation without loosing such
|
||||
in the mailbox will be dropped. To support graceful passivation without losing such
|
||||
messages the entity actor can send ``ShardRegion.Passivate`` to its parent ``Shard``.
|
||||
The specified wrapped message in ``Passivate`` will be sent back to the entity, which is
|
||||
then supposed to stop itself. Incoming messages will be buffered by the ``Shard``
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ object Receiver {
|
|||
|
||||
class Receiver extends Actor {
|
||||
/**
|
||||
* Simulate loosing 75% of all messages on the receiving end. We want to see the redelivery in action!
|
||||
* Simulate losing 75% of all messages on the receiving end. We want to see the redelivery in action!
|
||||
*/
|
||||
def shouldSendAck = ThreadLocalRandom.current.nextDouble() < 0.25
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue