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
.
-
-
Constructor Summary
Constructors Constructor Description ActorMaterializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> ActorMaterializer
apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorSystem<T> actorSystem)
static <T> scala.Option<ActorMaterializerSettings>
apply$default$1()
static <T> scala.Option<java.lang.String>
apply$default$2()
static <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
.static <T> scala.Option<ActorMaterializerSettings>
boundToActor$default$2()
static <T> scala.Option<java.lang.String>
boundToActor$default$3()
-
-
-
Method Detail
-
apply
public static <T> ActorMaterializer apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorSystem<T> actorSystem)
-
apply$default$1
public static <T> scala.Option<ActorMaterializerSettings> apply$default$1()
-
apply$default$2
public static <T> scala.Option<java.lang.String> apply$default$2()
-
boundToActor
public static <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 static <T> scala.Option<ActorMaterializerSettings> boundToActor$default$2()
-
boundToActor$default$3
public static <T> scala.Option<java.lang.String> boundToActor$default$3()
-
-