Changing so that PriorityMailboxes can be used
This commit is contained in:
parent
db5bf9dd75
commit
2b4c8b2508
3 changed files with 11 additions and 8 deletions
|
|
@ -120,10 +120,7 @@ object DispatcherDocSpec {
|
|||
}
|
||||
|
||||
// We create a new Priority dispatcher and seed it with the priority generator
|
||||
class PrioMailbox(config: Config) extends MailboxType {
|
||||
val priorityMailbox = UnboundedPriorityMailbox(generator)
|
||||
def create(owner: Option[ActorContext]) = priorityMailbox.create(owner)
|
||||
}
|
||||
class PrioMailbox(config: Config) extends UnboundedPriorityMailbox(generator)
|
||||
//#prio-mailbox
|
||||
|
||||
class MyActor extends Actor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue