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 SerialSubscription
private 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) void
next()
void
Called once the deferred computation completes normally.void
Called once if the deferred computation 'throws' an exception.void
Called 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, weakCompareAndSetVolatile
Methods 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.CompletableSubscriber
Called 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:
onSubscribe
in interfaceCompletable.CompletableSubscriber
- Parameters:
d
- the Subscription instance to call dispose on for cancellation, not null
-
onError
Description copied from interface:Completable.CompletableSubscriber
Called once if the deferred computation 'throws' an exception.- Specified by:
onError
in interfaceCompletable.CompletableSubscriber
- Parameters:
e
- the exception, not null.
-
onCompleted
public void onCompleted()Description copied from interface:Completable.CompletableSubscriber
Called once the deferred computation completes normally.- Specified by:
onCompleted
in interfaceCompletable.CompletableSubscriber
-
next
void next()
-