Class EventListeningSubscriber<T>
java.lang.Object
software.amazon.awssdk.utils.async.DelegatingSubscriber<T,T>
software.amazon.awssdk.utils.async.EventListeningSubscriber<T>
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
A
Subscriber that can invoke callbacks during various parts of the subscriber and subscription lifecycle.-
Field Summary
Fields inherited from class software.amazon.awssdk.utils.async.DelegatingSubscriber
subscriber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
EventListeningSubscriber
-
-
Method Details
-
onNext
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>- Overrides:
onSubscribein classDelegatingSubscriber<T,T>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>- Overrides:
onErrorin classDelegatingSubscriber<T,T>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>- Overrides:
onCompletein classDelegatingSubscriber<T,T>
-