Class ActorMaterializerFactory$
- java.lang.Object
-
- akka.stream.typed.javadsl.ActorMaterializerFactory$
-
public class ActorMaterializerFactory$ 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 these actors, therefore it is *forbidden* to pass this object to another actor if the factory is an ActorContext.Defaults the actor name prefix used to name actors running the processing steps to
"flow"
. The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName
.
-
-
Field Summary
Fields Modifier and Type Field Description static ActorMaterializerFactory$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ActorMaterializerFactory$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ActorMaterializer
create(ActorSystem<T> actorSystem)
<T> ActorMaterializer
create(ActorContext<T> ctx)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.<T> ActorMaterializer
create(ActorMaterializerSettings settings, ActorSystem<T> actorSystem)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.<T> ActorMaterializer
create(ActorMaterializerSettings settings, ActorContext<T> ctx)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.<T> ActorMaterializer
create(ActorMaterializerSettings settings, java.lang.String namePrefix, ActorSystem<T> actorSystem)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.<T> ActorMaterializer
create(ActorMaterializerSettings settings, java.lang.String namePrefix, ActorContext<T> ctx)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
.
-
-
-
Field Detail
-
MODULE$
public static final ActorMaterializerFactory$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
create
public <T> ActorMaterializer create(ActorSystem<T> actorSystem)
-
create
public <T> ActorMaterializer create(ActorMaterializerSettings settings, ActorSystem<T> actorSystem)
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.- Parameters:
settings
- (undocumented)actorSystem
- (undocumented)- Returns:
- (undocumented)
-
create
public <T> ActorMaterializer create(ActorMaterializerSettings settings, java.lang.String namePrefix, ActorSystem<T> actorSystem)
Creates anActorMaterializer
which will execute every step of a transformation pipeline within its ownActor
. The requiredActorSystem
will be used to create these actors, therefore it is *forbidden* to pass this object to another actor if the factory is an ActorContext.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:
settings
- (undocumented)namePrefix
- (undocumented)actorSystem
- (undocumented)- Returns:
- (undocumented)
-
create
public <T> ActorMaterializer create(ActorContext<T> ctx)
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
Defaults the actor name prefix used to name actors running the processing steps to
"flow"
. The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName
.- Parameters:
ctx
- (undocumented)- Returns:
- (undocumented)
-
create
public <T> ActorMaterializer create(ActorMaterializerSettings settings, ActorContext<T> ctx)
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
- Parameters:
settings
- (undocumented)ctx
- (undocumented)- Returns:
- (undocumented)
-
create
public <T> ActorMaterializer create(ActorMaterializerSettings settings, java.lang.String namePrefix, ActorContext<T> ctx)
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
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:
settings
- (undocumented)namePrefix
- (undocumented)ctx
- (undocumented)- Returns:
- (undocumented)
-
-