Rename FlowMaterializer to Materializer
This commit is contained in:
parent
dc7269e620
commit
7879a5521b
245 changed files with 860 additions and 860 deletions
|
|
@ -119,7 +119,7 @@ private[akka] final class TickSource[Out](initialDelay: FiniteDuration, interval
|
|||
|
||||
override def create(context: MaterializationContext) = {
|
||||
val cancelled = new AtomicBoolean(false)
|
||||
val actorMaterializer = ActorFlowMaterializer.downcast(context.materializer)
|
||||
val actorMaterializer = ActorMaterializer.downcast(context.materializer)
|
||||
val effectiveSettings = actorMaterializer.effectiveSettings(context.effectiveAttributes)
|
||||
val ref = actorMaterializer.actorOf(context,
|
||||
TickPublisher.props(initialDelay, interval, tick, effectiveSettings, cancelled))
|
||||
|
|
@ -144,7 +144,7 @@ private[akka] final class TickSource[Out](initialDelay: FiniteDuration, interval
|
|||
private[akka] final class ActorPublisherSource[Out](props: Props, val attributes: Attributes, shape: SourceShape[Out]) extends SourceModule[Out, ActorRef](shape) {
|
||||
|
||||
override def create(context: MaterializationContext) = {
|
||||
val publisherRef = ActorFlowMaterializer.downcast(context.materializer).actorOf(context, props)
|
||||
val publisherRef = ActorMaterializer.downcast(context.materializer).actorOf(context, props)
|
||||
(akka.stream.actor.ActorPublisher[Out](publisherRef), publisherRef)
|
||||
}
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ private[akka] final class ActorRefSource[Out](
|
|||
extends SourceModule[Out, ActorRef](shape) {
|
||||
|
||||
override def create(context: MaterializationContext) = {
|
||||
val ref = ActorFlowMaterializer.downcast(context.materializer).actorOf(context,
|
||||
val ref = ActorMaterializer.downcast(context.materializer).actorOf(context,
|
||||
ActorRefSourceActor.props(bufferSize, overflowStrategy))
|
||||
(akka.stream.actor.ActorPublisher[Out](ref), ref)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue