Class SequentialSubscriber<T>
java.lang.Object
software.amazon.awssdk.utils.async.SequentialSubscriber<T>
- Type Parameters:
T
- Type of data requested
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
A simple implementation of
Subscriber
that requests data one at a time.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
onSubscribe
(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
SequentialSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
-
onNext
- Specified by:
onNext
in interfaceorg.reactivestreams.Subscriber<T>
-
onError
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
-