public class DelegatingBufferingSubscriber extends BaseSubscriberAdapter<ByteBuffer,ByteBuffer>
| Modifier and Type | Class and Description |
|---|---|
static class |
DelegatingBufferingSubscriber.Builder |
downstreamDemand, handlingStateUpdate, onCompleteCalledByUpstream, onErrorFromUpstream, terminalCallMadeDownstream, upstreamDemand, upstreamSubscriptionsubscriber| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingBufferingSubscriber(Long maximumBufferInBytes,
org.reactivestreams.Subscriber<? super ByteBuffer> delegate) |
| Modifier and Type | Method and Description |
|---|---|
static DelegatingBufferingSubscriber.Builder |
builder() |
protected void |
fulfillDownstreamDemand()
This method is called when demand from the downstream subscriber needs to be fulfilled.
|
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
handleStateUpdate, onComplete, onError, onNextprotected DelegatingBufferingSubscriber(Long maximumBufferInBytes, org.reactivestreams.Subscriber<? super ByteBuffer> delegate)
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<ByteBuffer>onSubscribe in class BaseSubscriberAdapter<ByteBuffer,ByteBuffer>protected void fulfillDownstreamDemand()
BaseSubscriberAdapterdownstreamDemand is no longer needed. Implementations are responsible for decrementing the downstreamDemand accordingly as demand gets fulfilled.fulfillDownstreamDemand in class BaseSubscriberAdapter<ByteBuffer,ByteBuffer>public static DelegatingBufferingSubscriber.Builder builder()
Copyright © 2026. All rights reserved.