Class ActorMaterializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Materializerapply(ActorMaterializerSettings materializerSettings, String namePrefix, ActorRefFactory context) Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults.static Materializerapply(ActorMaterializerSettings materializerSettings, ActorRefFactory context) Deprecated.Use the system wide materializer or Materializer.apply(actorContext) with stream attributes or configuration settings to change defaults.static Materializerapply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<String> namePrefix, ActorRefFactory context) Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults.static scala.Option<ActorMaterializerSettings>static scala.Option<String>static Materializercreate(ActorRefFactory context) Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults.
-
Constructor Details
-
ActorMaterializer
public ActorMaterializer()
-
-
Method Details
-
apply
public static Materializer apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<String> namePrefix, ActorRefFactory context) Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults. Since Akka 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
pekko.actor.ActorRefFactory(which can be either anpekko.actor.ActorSystemor anpekko.actor.ActorContext) will be used to create one actor that in turn creates actors for the transformation steps.The materializer's
pekko.stream.ActorMaterializerSettingswill be obtained from the configuration of thecontext's underlyingpekko.actor.ActorSystem.The
namePrefixis used as the first part of the names of the actors running the processing steps. The defaultnamePrefixis"flow". The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName. -
apply
public static Materializer apply(ActorMaterializerSettings materializerSettings, String namePrefix, ActorRefFactory context) Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults. Since Akka 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
pekko.actor.ActorRefFactory(which can be either anpekko.actor.ActorSystemor anpekko.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
namePrefixis used as the first part of the names of the actors running the processing steps. The defaultnamePrefixis"flow". The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName. -
apply
public static Materializer apply(ActorMaterializerSettings materializerSettings, ActorRefFactory context) Deprecated.Use the system wide materializer or Materializer.apply(actorContext) with stream attributes or configuration settings to change defaults. Since Akka 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
pekko.actor.ActorRefFactory(which can be either anpekko.actor.ActorSystemor anpekko.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
namePrefixis used as the first part of the names of the actors running the processing steps. The defaultnamePrefixis"flow". The actor names are built up ofnamePrefix-flowNumber-flowStepNumber-stepName. -
apply$default$1
-
apply$default$2
-
create
Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults. Since Akka 2.6.0.Java API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
pekko.actor.ActorRefFactory(which can be either anpekko.actor.ActorSystemor anpekko.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.
-