java.lang.Object
org.jooq.impl.DefaultSubscriberProvider<C>
- All Implemented Interfaces:
- SubscriberProvider<C>
A default, context unaware implementation of the 
SubscriberProvider
 SPI.- Author:
- Lukas Eder
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Ccontext()Create an empty context.final Ccontext(org.reactivestreams.Subscriber<?> subscriber) Extract a context from an existingSubscriber.final <T> org.reactivestreams.Subscriber<T> subscriber(Consumer<? super org.reactivestreams.Subscription> onSubscribe, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Runnable onComplete, C context) Create a new subscriber from its component implementations and a previous context.
- 
Constructor Details- 
DefaultSubscriberProviderpublic DefaultSubscriberProvider()
 
- 
- 
Method Details- 
contextDescription copied from interface:SubscriberProviderCreate an empty context.- Specified by:
- contextin interface- SubscriberProvider<C>
 
- 
contextDescription copied from interface:SubscriberProviderExtract a context from an existingSubscriber.- Specified by:
- contextin interface- SubscriberProvider<C>
 
- 
subscriberpublic final <T> org.reactivestreams.Subscriber<T> subscriber(Consumer<? super org.reactivestreams.Subscription> onSubscribe, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Runnable onComplete, C context) Description copied from interface:SubscriberProviderCreate a new subscriber from its component implementations and a previous context.- Specified by:
- subscriberin interface- SubscriberProvider<C>
- Parameters:
- onSubscribe- The implementation of- Subscriber.onSubscribe(Subscription)
- onNext- The implementation of- Subscriber.onNext(Object)
- onError- The implementation of- Subscriber.onError(Throwable)
- onComplete- The implementation of- Subscriber.onComplete()
- context- The- SubscriberProvider.context()
 
 
-