Package org.apache.pekko.stream
Class Attributes.NestedMaterializationCancellationPolicy$
java.lang.Object
org.apache.pekko.stream.Attributes.NestedMaterializationCancellationPolicy$
- Enclosing class:
- Attributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Attributes.NestedMaterializationCancellationPolicy$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault()DefaultAttributes.NestedMaterializationCancellationPolicy, please see {@link pekko.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.AAttributes.NestedMaterializationCancellationPolicythat configures graph stages delaying nested flow materialization to cancel immediately when downstream cancels before nested flow materialization.AAttributes.NestedMaterializationCancellationPolicythat configures graph stages delaying nested flow materialization to delay cancellation when downstream cancels before nested flow materialization.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
NestedMaterializationCancellationPolicy$
public NestedMaterializationCancellationPolicy$()
-
-
Method Details
-
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
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
DefaultAttributes.NestedMaterializationCancellationPolicy, please see {@link pekko.stream.Attributes.NestedMaterializationCancellationPolicy.EagerCancellation()} for details.
-