Package akka.stream.typed.scaladsl
Class ActorMaterializer$
- java.lang.Object
-
- akka.stream.typed.scaladsl.ActorMaterializer$
-
public class ActorMaterializer$ extends java.lang.Object
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
. The requiredActorSystem
will be used to create one actor that in turn creates actors for the transformation steps.The materializer's
ActorMaterializerSettings
will be obtained from the configuration of thecontext
's underlyingActorSystem
.The
namePrefix
is used as the first part of the names of the actors running the processing steps. The defaultnamePrefix
is"flow"
. The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName
.
-
-
Field Summary
Fields Modifier and Type Field Description static ActorMaterializer$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ActorMaterializer$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ActorMaterializer
apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorSystem<T> actorSystem)
<T> scala.Option<ActorMaterializerSettings>
apply$default$1()
<T> scala.Option<java.lang.String>
apply$default$2()
<T> ActorMaterializer
boundToActor(ActorContext<T> ctx, scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.<T> scala.Option<ActorMaterializerSettings>
boundToActor$default$2()
<T> scala.Option<java.lang.String>
boundToActor$default$3()
-
-
-
Field Detail
-
MODULE$
public static final ActorMaterializer$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <T> ActorMaterializer apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorSystem<T> actorSystem)
-
apply$default$1
public <T> scala.Option<ActorMaterializerSettings> apply$default$1()
-
apply$default$2
public <T> scala.Option<java.lang.String> apply$default$2()
-
boundToActor
public <T> ActorMaterializer boundToActor(ActorContext<T> ctx, scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
. The lifecycle of the materialized streams will be bound to the lifecycle of the providedActorContext
The materializer's
ActorMaterializerSettings
will be obtained from the configuration of thecontext
's underlyingActorSystem
.The
namePrefix
is used as the first part of the names of the actors running the processing steps. The defaultnamePrefix
is"flow"
. The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName
.- Parameters:
ctx
- (undocumented)materializerSettings
- (undocumented)namePrefix
- (undocumented)- Returns:
- (undocumented)
-
boundToActor$default$2
public <T> scala.Option<ActorMaterializerSettings> boundToActor$default$2()
-
boundToActor$default$3
public <T> scala.Option<java.lang.String> boundToActor$default$3()
-
-