object ActorMaterializer
- Source
- ActorMaterializer.scala
- Alphabetic
- By Inheritance
- ActorMaterializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(materializerSettings: ActorMaterializerSettings)(implicit context: ActorRefFactory): ActorMaterializer
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) 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
. -
def
apply(materializerSettings: ActorMaterializerSettings, namePrefix: String)(implicit context: ActorRefFactory): ActorMaterializer
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) 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
. -
def
apply(materializerSettings: Option[ActorMaterializerSettings] = None, namePrefix: Option[String] = None)(implicit context: ActorRefFactory): ActorMaterializer
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Scala API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) will be used to create one actor that in turn creates actors for the transformation steps.
The materializer's akka.stream.ActorMaterializerSettings will be obtained from the configuration of the
context
's underlying akka.actor.ActorSystem.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
. -
def
create(settings: ActorMaterializerSettings, context: ActorRefFactory, namePrefix: String): ActorMaterializer
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) 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
. -
def
create(settings: ActorMaterializerSettings, context: ActorRefFactory): ActorMaterializer
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) will be used to create one actor that in turn creates actors for the transformation steps.
-
def
create(context: ActorRefFactory): ActorMaterializer
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor.
Java API: Creates an ActorMaterializer which will execute every step of a transformation pipeline within its own akka.actor.Actor. The required akka.actor.ActorRefFactory (which can be either an akka.actor.ActorSystem or an akka.actor.ActorContext) 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
.