+str add akka.stream.materializer.file-io-dispatcher setting

This commit is contained in:
Johannes Rudolph 2014-11-07 15:00:50 +01:00
parent 840feb42ea
commit 4631e052f2
7 changed files with 51 additions and 40 deletions

View file

@ -0,0 +1,19 @@
/*
* Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.stream;
import akka.actor.ActorSystem;
import akka.stream.javadsl.AkkaJUnitActorSystemResource;
public abstract class StreamTest {
final protected ActorSystem system;
final protected FlowMaterializer materializer;
protected StreamTest(AkkaJUnitActorSystemResource actorSystemResource) {
system = actorSystemResource.getSystem();
MaterializerSettings settings = MaterializerSettings.create(system);
materializer = FlowMaterializer.create(settings, system);
}
}