fixing some typos in docs

This commit is contained in:
sebastian.harko 2017-03-08 14:49:07 +01:00 committed by Konrad `ktoso` Malawski
parent 5edead2bda
commit b479899406
2 changed files with 8 additions and 8 deletions

View file

@ -219,10 +219,10 @@ maximum stash capacity in the mailbox configuration::
Note that the stash capacity is per actor. If you have many persistent actors, e.g. when using cluster sharding,
you may need to define a small stash capacity to ensure that the total number of stashed messages in the system
don't consume too much memory. Additionally, The persistent actor defines three strategies to handle failure when the
doesn't consume too much memory. Additionally, the persistent actor defines three strategies to handle failure when the
internal stash capacity is exceeded. The default overflow strategy is the ``ThrowOverflowExceptionStrategy``, which
discards the current received message and throws a ``StashOverflowException``, causing actor restart if default
supervision strategy is used. you can override the ``internalStashOverflowStrategy`` method to return
discards the current received message and throws a ``StashOverflowException``, causing actor restart if the default
supervision strategy is used. You can override the ``internalStashOverflowStrategy`` method to return
``DiscardToDeadLetterStrategy`` or ``ReplyToStrategy`` for any "individual" persistent actor, or define the "default"
for all persistent actors by providing FQCN, which must be a subclass of ``StashOverflowStrategyConfigurator``, in the
persistence configuration::
@ -233,7 +233,7 @@ persistence configuration::
The ``DiscardToDeadLetterStrategy`` strategy also has a pre-packaged companion configurator
``akka.persistence.DiscardConfigurator``.
You can also query default strategy via the Akka persistence extension singleton::
You can also query the default strategy via the Akka persistence extension singleton::
Persistence.get(getContext().system()).defaultInternalStashOverflowStrategy();

View file

@ -218,10 +218,10 @@ maximum stash capacity in the mailbox configuration::
Note that the stash capacity is per actor. If you have many persistent actors, e.g. when using cluster sharding,
you may need to define a small stash capacity to ensure that the total number of stashed messages in the system
don't consume too much memory. Additionally, The persistent actor defines three strategies to handle failure when the
doesn't consume too much memory. Additionally, the persistent actor defines three strategies to handle failure when the
internal stash capacity is exceeded. The default overflow strategy is the ``ThrowOverflowExceptionStrategy``, which
discards the current received message and throws a ``StashOverflowException``, causing actor restart if default
supervision strategy is used. you can override the ``internalStashOverflowStrategy`` method to return
discards the current received message and throws a ``StashOverflowException``, causing actor restart if the default
supervision strategy is used. You can override the ``internalStashOverflowStrategy`` method to return
``DiscardToDeadLetterStrategy`` or ``ReplyToStrategy`` for any "individual" persistent actor, or define the "default"
for all persistent actors by providing FQCN, which must be a subclass of ``StashOverflowStrategyConfigurator``, in the
persistence configuration::
@ -232,7 +232,7 @@ persistence configuration::
The ``DiscardToDeadLetterStrategy`` strategy also has a pre-packaged companion configurator
``akka.persistence.DiscardConfigurator``.
You can also query default strategy via the Akka persistence extension singleton::
You can also query the default strategy via the Akka persistence extension singleton::
Persistence(context.system).defaultInternalStashOverflowStrategy