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 byBaseSubscriber
-
-
Field Summary
Fields Modifier and Type Field Description protected reactor.core.CoreSubscriber<? super T>downstreamSubscriber
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSubscriber(reactor.core.CoreSubscriber<? super T> downstreamSubscriber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.util.context.ContextcurrentContext()protected voidhookOnSubscribe(org.reactivestreams.Subscription subscription)Hook for further processing of onSubscribe's Subscription.java.lang.StringtoString()
-
-
-
Field Detail
-
downstreamSubscriber
protected final reactor.core.CoreSubscriber<? super T> downstreamSubscriber
-
-
Constructor Detail
-
AbstractSubscriber
protected AbstractSubscriber(reactor.core.CoreSubscriber<? super T> downstreamSubscriber)
-
-
Method Detail
-
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
public java.lang.String toString()
- Overrides:
toStringin classreactor.core.publisher.BaseSubscriber<T>
-
-