public class SwitchAction.SwitchSubscriber
extends java.lang.Object
implements reactor.core.support.NonBlocking, org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription
| Constructor and Description |
|---|
SwitchSubscriber(org.reactivestreams.Publisher<? extends T> publisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
long |
getCapacity() |
org.reactivestreams.Subscription |
getSubscription() |
boolean |
isReactivePull(reactor.core.Dispatcher dispatcher,
long producerCapacity) |
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
void |
request(long n) |
public SwitchSubscriber(org.reactivestreams.Publisher<? extends T> publisher)
public boolean isReactivePull(reactor.core.Dispatcher dispatcher,
long producerCapacity)
isReactivePull in interface reactor.core.support.NonBlockingpublic long getCapacity()
getCapacity in interface reactor.core.support.NonBlockingpublic void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void onError(java.lang.Throwable t)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>public void request(long n)
request in interface org.reactivestreams.Subscriptionpublic void cancel()
cancel in interface org.reactivestreams.Subscriptionpublic org.reactivestreams.Subscription getSubscription()