Package org.apache.pekko.stream
Class SubstreamCancelStrategy
- java.lang.Object
-
- org.apache.pekko.stream.SubstreamCancelStrategy
-
- Direct Known Subclasses:
SubstreamCancelStrategies.Drain$
,SubstreamCancelStrategies.Propagate$
public abstract class SubstreamCancelStrategy extends java.lang.Object
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 Constructor Description SubstreamCancelStrategy()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubstreamCancelStrategy
drain()
Deprecated.Drain substream on cancellation in order to prevent stalling of the stream of streams.static SubstreamCancelStrategy
propagate()
Deprecated.Cancel the stream of streams if any substream is cancelled.
-
-
-
Method Detail
-
propagate
public static SubstreamCancelStrategy propagate()
Deprecated.Cancel the stream of streams if any substream is cancelled.
-
drain
public static SubstreamCancelStrategy drain()
Deprecated.Drain substream on cancellation in order to prevent stalling of the stream of streams.
-
-