public abstract class AbstractActorWithUnboundedStash extends AbstractActor implements UnboundedStash
Actor base class with Stash
that enforces an unbounded deque for the actor. The proper mailbox has to be configured
manually, and the mailbox should extend the DequeBasedMessageQueueSemantics
marker trait.
See AbstractActorWithStash
for details on how Stash
works.
This is an EXPERIMENTAL feature and is subject to change until it has received more real world testing.
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
AbstractActorWithUnboundedStash() |
Modifier and Type | Method and Description |
---|---|
DequeBasedMessageQueueSemantics |
mailbox() |
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, postRestart, postStop, preRestart, preStart, receive, receive, self, sender, supervisorStrategy, unhandled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postStop, preRestart
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
actorCell, clearStash, context, enqueueFirst, prepend, self, stash, unstash, unstashAll, unstashAll
public DequeBasedMessageQueueSemantics mailbox()
mailbox
in interface StashSupport