object Materializer

Source
Materializer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Materializer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(systemProvider: ClassicActorSystemProvider, defaultAttributes: Attributes): Materializer

    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.

    It is generally advised to limit the number of system level materializers created.

  2. def apply(systemProvider: ClassicActorSystemProvider): Materializer

    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.

  3. def apply(contextProvider: ClassicActorContextProvider, defaultAttributes: Attributes): Materializer

    Scala API: Create a materializer whose lifecycle will be tied to the one of the passed actor context.

    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.

  4. def apply(contextProvider: ClassicActorContextProvider): Materializer

    Scala API: Create a materializer whose lifecycle will be tied to the one of the passed actor context.

    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.

    Annotations
    @nowarn()
  5. def createMaterializer(systemProvider: ClassicActorSystemProvider, defaultAttributes: Attributes): Materializer

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

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

    It is generally advised to limit the number of system level materializers created.

  6. def createMaterializer(systemProvider: ClassicActorSystemProvider): Materializer

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

    Java 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.

  7. def createMaterializer(contextProvider: ClassicActorContextProvider, defaultAttributes: Attributes): Materializer

    Java API: Create a materializer whose lifecycle will be tied to the one of the passed actor context.

    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.

  8. def createMaterializer(contextProvider: ClassicActorContextProvider): Materializer

    Java API: Create a materializer whose lifecycle will be tied to the one of the passed actor context.

    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.

  9. implicit def matFromSystem(implicit provider: ClassicActorSystemProvider): Materializer

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