Package akka.stream
Class SubstreamCancelStrategy
- java.lang.Object
-
- akka.stream.SubstreamCancelStrategy
-
- Direct Known Subclasses:
SubstreamCancelStrategies.Drain$,SubstreamCancelStrategies.Propagate$
public abstract class SubstreamCancelStrategy extends java.lang.ObjectRepresents a strategy that decides how to deal with substream events.
-
-
Constructor Summary
Constructors Constructor Description SubstreamCancelStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubstreamCancelStrategydrain()Drain substream on cancellation in order to prevent stalling of the stream of streams.static SubstreamCancelStrategypropagate()
-
-
-
Method Detail
-
propagate
public static SubstreamCancelStrategy propagate()
-
drain
public static SubstreamCancelStrategy drain()
Drain substream on cancellation in order to prevent stalling of the stream of streams.- Returns:
- (undocumented)
-
-