public abstract class SubstreamCancelStrategy
extends java.lang.Object
| Constructor and Description |
|---|
SubstreamCancelStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static SubstreamCancelStrategy |
drain()
Drain substream on cancellation in order to prevent stalling of the stream of streams.
|
static SubstreamCancelStrategy |
propagate()
Cancel the stream of streams if any substream is cancelled.
|
public static SubstreamCancelStrategy propagate()
public static SubstreamCancelStrategy drain()