Package org.apache.pekko.stream
Class Attributes.NestedMaterializationCancellationPolicy$
- java.lang.Object
-
- org.apache.pekko.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.NestedMaterializationCancellationPolicyDefault()DefaultAttributes.NestedMaterializationCancellationPolicy, please see {@link pekko.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.Attributes.NestedMaterializationCancellationPolicyEagerCancellation()AAttributes.NestedMaterializationCancellationPolicythat configures graph stages delaying nested flow materialization to cancel immediately when downstream cancels before nested flow materialization.Attributes.NestedMaterializationCancellationPolicyPropagateToNested()AAttributes.NestedMaterializationCancellationPolicythat 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.NestedMaterializationCancellationPolicythat configures graph stages delaying nested flow materialization to cancel immediately when downstream cancels before nested flow materialization. This applies topekko.stream.scaladsl.FlowOps.flatMapPrefix,pekko.stream.scaladsl.Flow.futureFlowand derived operators.
-
PropagateToNested
public Attributes.NestedMaterializationCancellationPolicy PropagateToNested()
AAttributes.NestedMaterializationCancellationPolicythat 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 topekko.stream.scaladsl.FlowOps.flatMapPrefix,pekko.stream.scaladsl.Flow.futureFlowand derived operators.
-
Default
public Attributes.NestedMaterializationCancellationPolicy Default()
DefaultAttributes.NestedMaterializationCancellationPolicy, please see {@link pekko.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.
-
-