Package org.apache.pekko.stream
Class SubstreamCancelStrategy
java.lang.Object
org.apache.pekko.stream.SubstreamCancelStrategy
- Direct Known Subclasses:
SubstreamCancelStrategies.Drain$,SubstreamCancelStrategies.Propagate$
Deprecated.
Use .withAttributes(ActorAttributes.supervisionStrategy(equivalentDecider)) rather than a SubstreamCancelStrategy. Since 1.1.0.
Represents a strategy that decides how to deal with substream events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SubstreamCancelStrategydrain()Deprecated.Drain substream on cancellation in order to prevent stalling of the stream of streams.static SubstreamCancelStrategyDeprecated.Cancel the stream of streams if any substream is cancelled.
-
Constructor Details
-
SubstreamCancelStrategy
public SubstreamCancelStrategy()Deprecated.
-
-
Method Details
-
propagate
Deprecated.Cancel the stream of streams if any substream is cancelled. -
drain
Deprecated.Drain substream on cancellation in order to prevent stalling of the stream of streams.
-