Package org.apache.pekko.stream
Class ActorMaterializerSettings
java.lang.Object
org.apache.pekko.stream.ActorMaterializerSettings
This class describes the configurable properties of the
ActorMaterializer.
Please refer to the withX methods for descriptions of the individual settings.
The constructor is not public API, use create or apply on the ActorMaterializerSettings companion instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActorMaterializerSettingsapply(com.typesafe.config.Config config) Deprecated.Use config or attributes to configure the materializer.static ActorMaterializerSettingsapply(ActorSystem system) Deprecated.Use config or attributes to configure the materializer.booleantoString()Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured byStreamSubscriptionTimeoutSettings.
-
Constructor Details
-
ActorMaterializerSettings
public ActorMaterializerSettings()
-
-
Method Details
-
apply
Deprecated.Use config or attributes to configure the materializer. See migration guide for details https://doc.akka.io/docs/akka/2.6/project/migration-guide-2.5.x-2.6.x.html. Since Akka 2.6.0.CreateActorMaterializerSettingsfrom the settings of apekko.actor.ActorSystem(Scala).Prefer using either config for defaults or attributes for per-stream config. See migration guide for details https://doc.akka.io/docs/akka/2.6/project/migration-guide-2.5.x-2.6.x.html"
-
apply
Deprecated.Use config or attributes to configure the materializer. See migration guide for details https://doc.akka.io/docs/akka/2.6/project/migration-guide-2.5.x-2.6.x.html. Since Akka 2.6.0.CreateActorMaterializerSettingsfrom a Config subsection (Scala).Prefer using either config for defaults or attributes for per-stream config. See migration guide for details https://doc.akka.io/docs/akka/2.6/project/migration-guide-2.5.x-2.6.x.html"
-
subscriptionTimeoutSettings
-
withSubscriptionTimeoutSettings
public ActorMaterializerSettings withSubscriptionTimeoutSettings(StreamSubscriptionTimeoutSettings settings) Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured byStreamSubscriptionTimeoutSettings. -
equals
-
toString
-