object Materializer
- Source
- Materializer.scala
- Alphabetic
- By Inheritance
- Materializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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. - 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()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createMaterializer(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 by passing the
ActorSystem
to the variousrun
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. - 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def matFromSystem(implicit provider: ClassicActorSystemProvider): Materializer
Implicitly provides the system wide materializer from a classic or typed
ActorSystem
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])