publish, Reactive-Streams-Commons
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Consumer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Flux | Returns: aFlux that connects to the upstream source when the first org. subscribesConnects this |
| public final Flux | Returns: aFlux that connects to the upstream source when the given amount of Subscribers subscribedthe minimum number of subscribers minSubscribers)Connects this |
| public final Flux | Returns: aFlux that connects to the upstream source when the given amount of subscribers subscribedthe minimum number of subscribers minSubscribers, Consumer<? super Disposable> the consumer that will receive the cancelSupport)Disposable that allows disconnectingConnects this |
| public final Disposable | Returns: theDisposable that allows disconnecting the connection after.Connect this |
| public abstract void | connect(Consumer<? super Disposable>
the callback is called with a Disposable instance that can
be called to disconnect the source, even synchronously. cancelSupport)Connects this |
| public final ConnectableFlux | |
| public final Flux | Returns: a reference countingFluxConnects to the upstream source when the first |
| public final Flux | Returns: a reference countingFluxthe number of subscribers expected to subscribe before connection minSubscribers)Connects to the upstream source when the given number of |
| public final Flux | Returns: a reference countingFlux with a grace period for disconnectionthe number of subscribers expected to subscribe before connection minSubscribers, Duration the gracePeriod)Duration for which to wait for new subscribers before actually
disconnecting when all subscribers have cancelled.Connects to the upstream source when the given number of |
| public final Flux | Returns: a reference countingFlux with a grace period for disconnectionthe number of subscribers expected to subscribe before connection minSubscribers, Duration the gracePeriod, Scheduler Duration for which to wait for new subscribers before actually
disconnecting when all subscribers have cancelled.the scheduler)Scheduler on which to run timeoutsConnects to the upstream source when the given number of |
| NOOP_DISCONNECT | back to summary |
|---|---|
| pack-priv static final Consumer<Disposable> NOOP_DISCONNECT | |
| ConnectableFlux | back to summary |
|---|---|
| public ConnectableFlux() | |
| autoConnect | back to summary |
|---|---|
| public final Flux Connects this
| |
| autoConnect | back to summary |
|---|---|
| public final Flux Connects this Subscribing and immediately unsubscribing still contributes to the counter that triggers the connection.
| |
| autoConnect | back to summary |
|---|---|
| public final Flux Connects this
| |
| connect | back to summary |
|---|---|
| public final Disposable connect() Connect this
| |
| connect | back to summary |
|---|---|
| public abstract void connect(Consumer<? super Disposable> cancelSupport) Connects this The call should be idempotent in respect of connecting the first and subsequent times. In addition, the disconnection should be tied to a particular connection (so two different connections can't disconnect the other).
| |
| hide | back to summary |
|---|---|
| public final ConnectableFlux Overrides reactor. Doc from reactor. Hides the identities of this The main purpose of this operator is to prevent certain identity-based optimizations from happening, mostly for diagnostic purposes.
| |
| refCount | back to summary |
|---|---|
| public final Flux Connects to the upstream source when the first
| |
| refCount | back to summary |
|---|---|
| public final Flux Connects to the upstream source when the given number of
| |
| refCount | back to summary |
|---|---|
| public final Flux Connects to the upstream source when the given number of
| |
| refCount | back to summary |
|---|---|
| public final Flux Connects to the upstream source when the given number of
| |