Materializer

org.apache.pekko.stream.Materializer
See theMaterializer companion class
object Materializer

Attributes

Companion
class
Source
Materializer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Scala API: Create a materializer whose lifecycle will be tied to the one of the passed actor context. When the actor stops the materializer will stop and all streams created with it will be failed with an AbruptTerminationExeption

Scala API: Create a materializer whose lifecycle will be tied to the one of the passed actor context. When the actor stops the materializer will stop and all streams created with it will be failed with an AbruptTerminationExeption

You can pass either a classic actor context or a typed actor context.

Attributes

Source
Materializer.scala

Scala API: Create a new materializer that will stay alive as long as the system does or until it is explicitly stopped.

Scala API: Create a new materializer that will stay alive as long as the system does or until it is explicitly stopped.

Note prefer using the default SystemMaterializer that is implicitly available if you have an implicit ActorSystem in scope. Only create new system level materializers if you have specific needs or want to test abrupt termination of a custom graph stage. If you want to tie the lifecycle of the materializer to an actor, use the factory that takes an ActorContext instead.

Attributes

Source
Materializer.scala

Java API: Create a materializer whose lifecycle will be tied to the one of the passed actor context. When the actor stops the materializer will stop and all streams created with it will be failed with an AbruptTerminationExeption

Java API: Create a materializer whose lifecycle will be tied to the one of the passed actor context. When the actor stops the materializer will stop and all streams created with it will be failed with an AbruptTerminationExeption

You can pass either a classic actor context or a typed actor context.

Attributes

Source
Materializer.scala

Scala API: Create a new materializer that will stay alive as long as the system does or until it is explicitly stopped.

Scala API: Create a new materializer that will stay alive as long as the system does or until it is explicitly stopped.

Note prefer using the default SystemMaterializer by passing the ActorSystem to the various run methods on the streams. Only create new system level materializers if you have specific needs or want to test abrupt termination of a custom graph stage. If you want to tie the lifecycle of the materializer to an actor, use the factory that takes an ActorContext instead.

Attributes

Source
Materializer.scala

Implicits

Implicits

implicit def matFromSystem(implicit provider: ClassicActorSystemProvider): Materializer

Implicitly provides the system wide materializer from a classic or typed ActorSystem

Implicitly provides the system wide materializer from a classic or typed ActorSystem

Attributes

Source
Materializer.scala