public static final class FlowableOnBackpressureBufferToFile.BufferToFileSubscriberFlowable<T> extends AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
Modifier and Type | Field and Description |
---|---|
protected boolean |
cancelled |
protected org.reactivestreams.Subscriber<? super T> |
child |
protected AtomicLong |
requested |
Constructor and Description |
---|
BufferToFileSubscriberFlowable(org.reactivestreams.Subscriber<? super T> child,
PagedQueue queue,
Serializer<T> serializer,
io.reactivex.Scheduler.Worker worker) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
cancelUpstream() |
void |
onComplete() |
void |
onError(Throwable e) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription parent) |
void |
request(long n) |
void |
run() |
protected void |
scheduleDrain() |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSet
byteValue, shortValue
protected final org.reactivestreams.Subscriber<? super T> child
protected final AtomicLong requested
protected volatile boolean cancelled
public BufferToFileSubscriberFlowable(org.reactivestreams.Subscriber<? super T> child, PagedQueue queue, Serializer<T> serializer, io.reactivex.Scheduler.Worker worker)
public void onSubscribe(org.reactivestreams.Subscription parent)
public void request(long n)
request
in interface org.reactivestreams.Subscription
public void cancel()
cancel
in interface org.reactivestreams.Subscription
public void onError(Throwable e)
onError
in interface org.reactivestreams.Subscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
public void cancelUpstream()
protected void scheduleDrain()
Copyright © 2013–2020. All rights reserved.