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.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
onSubscribe
(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
EventListeningSubscriber
-
-
Method Details
-
onNext
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onSubscribe
in classDelegatingSubscriber<T,
T>
-
onError
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onError
in classDelegatingSubscriber<T,
T>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onComplete
in classDelegatingSubscriber<T,
T>
-