Class FlatteningSubscriber<U>
java.lang.Object
software.amazon.awssdk.utils.async.DelegatingSubscriber<T,U>
software.amazon.awssdk.utils.async.BaseSubscriberAdapter<Iterable<U>,U>
software.amazon.awssdk.utils.async.FlatteningSubscriber<U>
- All Implemented Interfaces:
org.reactivestreams.Subscriber<Iterable<U>>
-
Field Summary
Fields inherited from class software.amazon.awssdk.utils.async.BaseSubscriberAdapter
downstreamDemand, handlingStateUpdate, onCompleteCalledByUpstream, onErrorFromUpstream, terminalCallMadeDownstream, upstreamDemand, upstreamSubscriptionFields inherited from class software.amazon.awssdk.utils.async.DelegatingSubscriber
subscriber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method is called when demand from the downstream subscriber needs to be fulfilled.voidMethods inherited from class software.amazon.awssdk.utils.async.BaseSubscriberAdapter
handleStateUpdate, onComplete, onError, onSubscribe
-
Constructor Details
-
FlatteningSubscriber
-
-
Method Details
-
fulfillDownstreamDemand
protected void fulfillDownstreamDemand()Description copied from class:BaseSubscriberAdapterThis method is called when demand from the downstream subscriber needs to be fulfilled. Called in a loop untildownstreamDemandis no longer needed. Implementations are responsible for decrementing thedownstreamDemandaccordingly as demand gets fulfilled.- Specified by:
fulfillDownstreamDemandin classBaseSubscriberAdapter<Iterable<U>,U>
-
onNext
-