Package rx.internal.operators
Class CompletableOnSubscribeConcatIterable.ConcatInnerSubscriber
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
rx.internal.operators.CompletableOnSubscribeConcatIterable.ConcatInnerSubscriber
- All Implemented Interfaces:
Serializable,Completable.CompletableSubscriber
- Enclosing class:
CompletableOnSubscribeConcatIterable
static final class CompletableOnSubscribeConcatIterable.ConcatInnerSubscriber
extends AtomicInteger
implements Completable.CompletableSubscriber
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Completable.CompletableSubscriber(package private) int(package private) final SerialSubscriptionprivate static final long(package private) final Iterator<? extends Completable> -
Constructor Summary
ConstructorsConstructorDescriptionConcatInnerSubscriber(Completable.CompletableSubscriber actual, Iterator<? extends Completable> sources) -
Method Summary
Modifier and TypeMethodDescription(package private) voidnext()voidCalled once the deferred computation completes normally.voidCalled once if the deferred computation 'throws' an exception.voidCalled once by the Completable to set a Subscription on this instance which then can be used to cancel the subscription at any time.Methods inherited from class java.util.concurrent.atomic.AtomicInteger
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatileMethods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
actual
-
sources
-
index
int index -
sd
-
-
Constructor Details
-
ConcatInnerSubscriber
public ConcatInnerSubscriber(Completable.CompletableSubscriber actual, Iterator<? extends Completable> sources)
-
-
Method Details
-
onSubscribe
Description copied from interface:Completable.CompletableSubscriberCalled once by the Completable to set a Subscription on this instance which then can be used to cancel the subscription at any time.- Specified by:
onSubscribein interfaceCompletable.CompletableSubscriber- Parameters:
d- the Subscription instance to call dispose on for cancellation, not null
-
onError
Description copied from interface:Completable.CompletableSubscriberCalled once if the deferred computation 'throws' an exception.- Specified by:
onErrorin interfaceCompletable.CompletableSubscriber- Parameters:
e- the exception, not null.
-
onCompleted
public void onCompleted()Description copied from interface:Completable.CompletableSubscriberCalled once the deferred computation completes normally.- Specified by:
onCompletedin interfaceCompletable.CompletableSubscriber
-
next
void next()
-