Package org.apache.pekko.actor
Class AbstractActorWithUnboundedStash
java.lang.Object
org.apache.pekko.actor.AbstractActor
org.apache.pekko.actor.AbstractActorWithUnboundedStash
- All Implemented Interfaces:
Actor
,StashSupport
,UnboundedStash
,UnrestrictedStash
,RequiresMessageQueue<UnboundedDequeBasedMessageQueueSemantics>
public abstract class AbstractActorWithUnboundedStash
extends AbstractActor
implements UnboundedStash
Java API: compatible with lambda expressions
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 pekko.dispatch.DequeBasedMessageQueueSemantics
marker trait.
See pekko.actor.AbstractActorWithStash
for details on how Stash
works.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Methods inherited from class org.apache.pekko.actor.AbstractActor
context, createReceive, emptyBehavior, getContext, getSelf, getSender, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, supervisorStrategy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
Methods inherited from interface org.apache.pekko.actor.StashSupport
actorCell, clearStash, context, enqueueFirst, prepend, self, stash, theStash_$eq, unstash, unstashAll, unstashAll
Methods inherited from interface org.apache.pekko.actor.UnrestrictedStash
postStop, preRestart, super$postStop, super$preRestart
-
Constructor Details
-
AbstractActorWithUnboundedStash
public AbstractActorWithUnboundedStash()
-
-
Method Details
-
org$apache$pekko$actor$StashSupport$_setter_$mailbox_$eq
protected void org$apache$pekko$actor$StashSupport$_setter_$mailbox_$eq(DequeBasedMessageQueueSemantics x$1) - Specified by:
org$apache$pekko$actor$StashSupport$_setter_$mailbox_$eq
in interfaceStashSupport
-