=htp Fixes early error also being signalled as error via event

This commit is contained in:
Konrad Malawski 2015-11-19 17:19:45 +01:00
parent f2003cfe23
commit 5b3c04572f
10 changed files with 235 additions and 55 deletions

View file

@ -44,7 +44,7 @@ private[akka] case class ActorMaterializerImpl(system: ActorSystem,
override def withNamePrefix(name: String): Materializer = this.copy(namePrefix = name)
private[this] def nextFlowNameCount(): Long = flowNameCounter.incrementAndGet()
private[this] def nextFlowNameCount(): Long = flowNameCounter.incrementAndGet() // TODO use SeqActorName instead
private[this] def createFlowName(): String = s"$namePrefix-${nextFlowNameCount()}"
@ -215,6 +215,9 @@ private[akka] object StreamSupervisor {
def props(settings: ActorMaterializerSettings, haveShutDown: AtomicBoolean): Props =
Props(new StreamSupervisor(settings, haveShutDown)).withDeploy(Deploy.local)
private val actorName = new SeqActorName("StreamSupervisor")
def nextName(): String = actorName.next()
final case class Materialize(props: Props, name: String)
extends DeadLetterSuppression with NoSerializationVerificationNeeded