
reactor
kong-kong
记录流水账
展开
-
BaseSubscriber
import org.reactivestreams.Subscription; import reactor.core.publisher.BaseSubscriber; public class SampleSubscriber<T> extends BaseSubscriber<T> { public void hookOnSubscribe(S...翻译 2019-12-02 19:27:04 · 852 阅读 · 0 评论 -
Flux
# Subscribe and trigger the sequence subscribe(); # Do something with each produced value. subscribe(Consumer<? super T> consumer); # Deal with values but also react to an error subscrib...原创 2019-09-16 18:57:40 · 942 阅读 · 0 评论 -
Subscriber
public interface Subscriber<T> { /** * Invoked after calling {@link Publisher#subscribe(Subscriber)}. * <p> * No data will start flowing until {@link Subscription#requ...原创 2019-09-16 19:00:02 · 1013 阅读 · 0 评论 -
Subscription
/** * A {@link Subscription} represents a one-to-one lifecycle of a {@link Subscriber} subscribing to a {@link Publisher}. * <p> * It can only be used once by a single {@link Subscriber}. *...原创 2019-09-16 19:02:59 · 621 阅读 · 1 评论 -
Publisher
/** * A {@link Publisher} is a provider of a potentially unbounded number of sequenced elements, publishing them according to * the demand received from its {@link Subscriber}(s). * <p> * A...原创 2019-09-16 19:07:21 · 598 阅读 · 0 评论 -
backpressure策略
enum OverflowStrategy { /** * Completely ignore downstream backpressure requests. * <p> * This may yield {@link IllegalStateException} when queues get full downstream. ...原创 2019-09-19 15:05:08 · 311 阅读 · 0 评论