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 SummaryConstructors Constructor Description SubstreamCancelStrategy()
 - 
Method SummaryAll 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()Cancel the stream of streams if any substream is cancelled.
 
- 
- 
- 
Method Detail- 
propagatepublic static SubstreamCancelStrategy propagate() Cancel the stream of streams if any substream is cancelled.
 - 
drainpublic static SubstreamCancelStrategy drain() Drain substream on cancellation in order to prevent stalling of the stream of streams.
 
- 
 
-