include system.settings when constructing MailboxType, see #1864

- necessary to not have to construct one Settings object per
  MessageQueue
- added system.settings to DispatcherPrerequisites
This commit is contained in:
Roland 2012-02-26 21:26:25 +01:00
parent abd7fb40ca
commit eaee16c7d3
22 changed files with 61 additions and 47 deletions

View file

@ -124,7 +124,7 @@ public class DispatcherDocTestBase {
//#prio-mailbox
public static class PrioMailbox extends UnboundedPriorityMailbox {
public PrioMailbox(Config config) { // needed for reflective instantiation
public PrioMailbox(ActorSystem.Settings settings, Config config) { // needed for reflective instantiation
super(new PriorityGenerator() { // Create a new PriorityGenerator, lower prio means more important
@Override
public int gen(Object message) {