akka.actor
Class AbstractActorWithUnboundedStash

java.lang.Object
  extended by akka.actor.AbstractActor
      extended by akka.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 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$
 
Constructor Summary
AbstractActorWithUnboundedStash()
           
 
Method Summary
 
Methods inherited from class akka.actor.AbstractActor
emptyBehavior, getContext, receive, receive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.UnrestrictedStash
postStop, preRestart
 
Methods inherited from interface akka.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
 
Methods inherited from interface akka.actor.StashSupport
actorCell, capacity, clearStash, context, enqueueFirst, mailbox, prepend, self, stash, theStash, unstash, unstashAll, unstashAll
 

Constructor Detail

AbstractActorWithUnboundedStash

public AbstractActorWithUnboundedStash()