Merge pull request #1378 from akka/wip-3273-enforce-mailbox-types-on-system-actors-ban

Enforce mailbox types on System actors. #3273
This commit is contained in:
Björn Antonsson 2013-05-03 04:04:02 -07:00
commit 459e3e3720
27 changed files with 123 additions and 49 deletions

View file

@ -837,6 +837,12 @@ actor's state which have the same property. The :class:`Stash` traits
implementation of :meth:`preRestart` will call ``unstashAll()``, which is
usually the desired behavior.
.. note::
If you want to enforce that your actor can only work with an unbounded stash,
then you should use the ``UnboundedStash`` trait instead.
.. _killing-actors-scala:
Killing an Actor