=str make StageActorRef "single" and watchable, fix some tests
This commit is contained in:
parent
df93b2f883
commit
7afb750380
15 changed files with 556 additions and 42 deletions
|
|
@ -8,6 +8,7 @@ import java.util.concurrent.TimeUnit
|
|||
import java.util.concurrent.atomic.{ AtomicInteger, AtomicBoolean }
|
||||
|
||||
import akka.actor.{ ActorContext, ActorRef, ActorRefFactory, ActorSystem, ExtendedActorSystem, Props }
|
||||
import akka.event.LoggingAdapter
|
||||
import akka.stream.impl._
|
||||
import com.typesafe.config.Config
|
||||
|
||||
|
|
@ -59,7 +60,7 @@ object ActorMaterializer {
|
|||
system.dispatchers,
|
||||
context.actorOf(StreamSupervisor.props(materializerSettings, haveShutDown).withDispatcher(materializerSettings.dispatcher), StreamSupervisor.nextName()),
|
||||
haveShutDown,
|
||||
FlowNames(system).names.copy(namePrefix))
|
||||
FlowNames(system).name.copy(namePrefix))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -169,6 +170,11 @@ abstract class ActorMaterializer extends Materializer {
|
|||
*/
|
||||
private[akka] def system: ActorSystem
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] def logger: LoggingAdapter
|
||||
|
||||
/** INTERNAL API */
|
||||
private[akka] def supervisor: ActorRef
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue