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.Subscription
public void request(long n)
request
in interface org.reactivestreams.Subscription
public boolean set(org.reactivestreams.Subscription newSubscription)
newSubscription
- the subscription to setCopyright © 2019–2020 SmallRye. All rights reserved.