Package akka.stream
Class Attributes.NestedMaterializationCancellationPolicy$
- java.lang.Object
-
- akka.stream.Attributes.NestedMaterializationCancellationPolicy$
-
- Enclosing class:
- Attributes
public static class Attributes.NestedMaterializationCancellationPolicy$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Attributes.NestedMaterializationCancellationPolicy$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description NestedMaterializationCancellationPolicy$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes.NestedMaterializationCancellationPolicy
Default()
DefaultAttributes.NestedMaterializationCancellationPolicy
, please see {@link akka.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.Attributes.NestedMaterializationCancellationPolicy
EagerCancellation()
AAttributes.NestedMaterializationCancellationPolicy
that configures graph stages delaying nested flow materialization to cancel immediately when downstream cancels before nested flow materialization.Attributes.NestedMaterializationCancellationPolicy
PropagateToNested()
AAttributes.NestedMaterializationCancellationPolicy
that configures graph stages delaying nested flow materialization to delay cancellation when downstream cancels before nested flow materialization.
-
-
-
Field Detail
-
MODULE$
public static final Attributes.NestedMaterializationCancellationPolicy$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
EagerCancellation
public Attributes.NestedMaterializationCancellationPolicy EagerCancellation()
AAttributes.NestedMaterializationCancellationPolicy
that configures graph stages delaying nested flow materialization to cancel immediately when downstream cancels before nested flow materialization. This applies toakka.stream.scaladsl.FlowOps.flatMapPrefix
,akka.stream.scaladsl.Flow.futureFlow
and derived operators.
-
PropagateToNested
public Attributes.NestedMaterializationCancellationPolicy PropagateToNested()
AAttributes.NestedMaterializationCancellationPolicy
that configures graph stages delaying nested flow materialization to delay cancellation when downstream cancels before nested flow materialization. Once the nested flow is materialized it will be cancelled immediately. This applies toakka.stream.scaladsl.FlowOps.flatMapPrefix
,akka.stream.scaladsl.Flow.futureFlow
and derived operators.
-
Default
public Attributes.NestedMaterializationCancellationPolicy Default()
DefaultAttributes.NestedMaterializationCancellationPolicy
, please see {@link akka.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.
-
-