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 expressionsActor 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 thepekko.dispatch.DequeBasedMessageQueueSemantics
marker trait. Seepekko.actor.AbstractActorWithStash
for details on howStash
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 Constructor Description AbstractActorWithUnboundedStash()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
org$apache$pekko$actor$StashSupport$_setter_$mailbox_$eq(DequeBasedMessageQueueSemantics x$1)
-
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
-
-
-
-
Method Detail
-
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
-
-