Class DrainingSubscriber<T>
- java.lang.Object
-
- software.amazon.awssdk.core.async.DrainingSubscriber<T>
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
public class DrainingSubscriber<T> extends Object implements org.reactivestreams.Subscriber<T>
Requests elements from a subscriber until the subscription is completed.
-
-
Constructor Summary
Constructors Constructor Description DrainingSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onError(Throwable throwable)
void
onNext(T t)
void
onSubscribe(org.reactivestreams.Subscription subscription)
-
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(Throwable throwable)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
-
-