Package io.github.resilience4j.reactor
Class AbstractSubscriber<T>
java.lang.Object
reactor.core.publisher.BaseSubscriber<T>
io.github.resilience4j.reactor.AbstractSubscriber<T>
- Type Parameters:
T-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>,org.reactivestreams.Subscription,reactor.core.CoreSubscriber<T>,reactor.core.Disposable
public abstract class AbstractSubscriber<T>
extends reactor.core.publisher.BaseSubscriber<T>
Heavily inspired by
BaseSubscriber-
Nested Class Summary
Nested classes/interfaces inherited from interface reactor.core.Disposable
reactor.core.Disposable.Composite, reactor.core.Disposable.Swap -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSubscriber(reactor.core.CoreSubscriber<? super T> downstreamSubscriber) -
Method Summary
Modifier and TypeMethodDescriptionreactor.util.context.Contextprotected voidhookOnSubscribe(org.reactivestreams.Subscription subscription) Hook for further processing of onSubscribe's Subscription.toString()Methods inherited from class reactor.core.publisher.BaseSubscriber
cancel, dispose, hookFinally, hookOnCancel, hookOnComplete, hookOnError, hookOnNext, isDisposed, onComplete, onError, onNext, onSubscribe, request, requestUnbounded, upstream
-
Field Details
-
downstreamSubscriber
-
-
Constructor Details
-
AbstractSubscriber
-
-
Method Details
-
hookOnSubscribe
protected void hookOnSubscribe(org.reactivestreams.Subscription subscription) Hook for further processing of onSubscribe's Subscription.- Overrides:
hookOnSubscribein classreactor.core.publisher.BaseSubscriber<T>- Parameters:
subscription- the subscription to optionally process
-
currentContext
public reactor.util.context.Context currentContext() -
toString
- Overrides:
toStringin classreactor.core.publisher.BaseSubscriber<T>
-