Class ActorMaterializer$
- java.lang.Object
-
- akka.stream.ActorMaterializer$
-
public class ActorMaterializer$ extends java.lang.Object
-
-
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 Deprecated Methods Modifier and Type Method Description ActorMaterializerapply(ActorMaterializerSettings materializerSettings, ActorRefFactory context)Deprecated.Use the system wide materializer or Materializer.apply(actorContext) with stream attributes or configuration settings to change defaults.ActorMaterializerapply(ActorMaterializerSettings materializerSettings, java.lang.String namePrefix, ActorRefFactory context)Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults.ActorMaterializerapply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorRefFactory context)Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults.scala.Option<ActorMaterializerSettings>apply$default$1()scala.Option<java.lang.String>apply$default$2()ActorMaterializercreate(ActorRefFactory context)Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults.ActorMaterializercreate(ActorRefFactory context, java.lang.String namePrefix)Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults.ActorMaterializercreate(ActorMaterializerSettings settings, ActorRefFactory context)Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults.ActorMaterializercreate(ActorMaterializerSettings settings, ActorRefFactory context, java.lang.String namePrefix)Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults.
-
-
-
Field Detail
-
MODULE$
public static final ActorMaterializer$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public ActorMaterializer apply(scala.Option<ActorMaterializerSettings> materializerSettings, scala.Option<java.lang.String> namePrefix, ActorRefFactory context)
Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults. Since 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) will be used to create one actor that in turn creates actors for the transformation steps.The materializer's
ActorMaterializerSettingswill be obtained from the configuration of thecontext's underlyingActorSystem.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 ActorMaterializer apply(ActorMaterializerSettings materializerSettings, java.lang.String namePrefix, ActorRefFactory context)
Deprecated.Use the system wide materializer with stream attributes or configuration settings to change defaults. Since 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) 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 ActorMaterializer 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 2.6.0.Scala API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) 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
public scala.Option<ActorMaterializerSettings> apply$default$1()
-
apply$default$2
public scala.Option<java.lang.String> apply$default$2()
-
create
public ActorMaterializer create(ActorRefFactory context)
Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults. Since 2.6.0.Java API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) 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.
-
create
public ActorMaterializer create(ActorRefFactory context, java.lang.String namePrefix)
Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults. Since 2.6.0.Java API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) 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.
-
create
public ActorMaterializer create(ActorMaterializerSettings settings, ActorRefFactory context)
Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults. Since 2.6.0.Java API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) will be used to create one actor that in turn creates actors for the transformation steps.
-
create
public ActorMaterializer create(ActorMaterializerSettings settings, ActorRefFactory context, java.lang.String namePrefix)
Deprecated.Use the system wide materializer or Materializer.create(actorContext) with stream attributes or configuration settings to change defaults. Since 2.6.0.Java API: Creates an ActorMaterializer that can materialize stream blueprints as running streams.The required
ActorRefFactory(which can be either anActorSystemor anActorContext) 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.
-
-