public interface NotifyingSubscriber extends org.reactivestreams.Subscriber<RecordsRetrieved>
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Subscriber<RecordsRetrieved> |
getDelegateSubscriber()
Return the actual subscriber to which the events needs to be delegated.
|
RecordsDeliveryAck |
getRecordsDeliveryAck(RecordsRetrieved recordsRetrieved)
Construct RecordsDeliveryAck object from the incoming data and return it
|
RecordsPublisher |
getRecordsPublisher()
Return the publisher to be notified
|
default void |
onComplete() |
default void |
onError(Throwable throwable) |
default void |
onNext(RecordsRetrieved recordsRetrieved) |
default void |
onSubscribe(org.reactivestreams.Subscription subscription) |
org.reactivestreams.Subscriber<RecordsRetrieved> getDelegateSubscriber()
RecordsPublisher getRecordsPublisher()
RecordsDeliveryAck getRecordsDeliveryAck(RecordsRetrieved recordsRetrieved)
recordsRetrieved
- for which we need the ack.default void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe
in interface org.reactivestreams.Subscriber<RecordsRetrieved>
default void onNext(RecordsRetrieved recordsRetrieved)
onNext
in interface org.reactivestreams.Subscriber<RecordsRetrieved>
default void onError(Throwable throwable)
onError
in interface org.reactivestreams.Subscriber<RecordsRetrieved>
default void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<RecordsRetrieved>
Copyright © 2021. All rights reserved.