public static class Subscriptions.DeferredSubscription extends Object implements org.reactivestreams.Subscription
| Constructor and Description |
|---|
DeferredSubscription() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected boolean |
isCancelled() |
void |
request(long n) |
boolean |
set(org.reactivestreams.Subscription newSubscription)
Atomically sets the single subscription and requests the missed amount from it.
|
protected boolean isCancelled()
public void cancel()
cancel in interface org.reactivestreams.Subscriptionpublic void request(long n)
request in interface org.reactivestreams.Subscriptionpublic boolean set(org.reactivestreams.Subscription newSubscription)
newSubscription - the subscription to setCopyright © 2019–2020 SmallRye. All rights reserved.