akka.actor.dsl
Interface Creators.ActWithStash

All Superinterfaces:
Actor, Creators.Act, RequiresMessageQueue<DequeBasedMessageQueueSemantics>, Stash, UnrestrictedStash
Enclosing interface:
Creators

public static interface Creators.ActWithStash
extends Creators.Act, Stash

Use this trait when defining an Actor with Stash, since just using actor()(new Act with Stash{}) will not be able to see the Stash component due to type erasure.


Nested Class Summary
 
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$
 
Method Summary
 
Methods inherited from interface akka.actor.dsl.Creators.Act
AllForOneStrategy, become, becomeStacked, Escalate, OneForOneStrategy, postRestart, postStop, preRestart, preStart, receive, Restart, Resume, Stop, superviseWith, supervisorStrategy, unbecome, whenFailing, whenRestarted, whenStarting, whenStopping
 
Methods inherited from interface akka.actor.UnrestrictedStash
capacity, mailbox, stash, theStash, unstashAll
 
Methods inherited from interface akka.actor.Actor
context, noSender, self, sender, unhandled