Top Inners Fields Constructors Methods
rx.internal.operators

public final Class CompletableOnSubscribeConcat

extends Object
implements OnSubscribe
Class Inheritance
All Implemented Interfaces
rx.Completable.OnSubscribe, rx.functions.Action1, rx.functions.Action, rx.functions.Function
Imports
java.util.concurrent.atomic.*, rx.*, .Completable.OnSubscribe, rx.exceptions.MissingBackpressureException, rx.internal.subscriptions.SequentialSubscription, rx.internal.util.unsafe.SpscArrayQueue, rx.plugins.RxJavaHooks

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final Observable<Completable>

Constructor Summary

AccessConstructor and Description
public
CompletableOnSubscribeConcat(Observable<? extends Completable> sources, int prefetch)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

prefetchback to summary
pack-priv final int prefetch
sourcesback to summary
pack-priv final Observable<Completable> sources

Constructor Detail

CompletableOnSubscribeConcatback to summary
public CompletableOnSubscribeConcat(Observable<? extends Completable> sources, int prefetch)
Annotations
@SuppressWarnings:unchecked

Method Detail

callback to summary
public void call(CompletableSubscriber s)

Implements rx.functions.Action1.call.

Annotations
@Override
rx.internal.operators back to summary

pack-priv final Class CompletableOnSubscribeConcat.CompletableConcatSubscriber

extends Subscriber<Completable>
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv volatile boolean
pack-priv final CompletableSubscriber
pack-priv volatile boolean
pack-priv final CompletableOnSubscribeConcat.CompletableConcatSubscriber.ConcatInnerSubscriber
pack-priv final AtomicBoolean
pack-priv final SpscArrayQueue<Completable>
pack-priv final SequentialSubscription

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
pack-priv void
public void
onCompleted()

Implements rx.Observer.onCompleted.

Notifies the Observer that the Observable has finished sending push-based notifications.
public void
onError(Throwable
the exception encountered by the Observable
t
)

Implements rx.Observer.onError.

Notifies the Observer that the Observable has experienced an error condition.
public void
onNext(Completable
the item emitted by the Observable
t
)

Implements rx.Observer.onNext.

Provides the Observer with a new item to observe.
Inherited from rx.Subscriber:
addisUnsubscribedonStartrequestsetProducerunsubscribe

Field Detail

activeback to summary
pack-priv volatile boolean active
actualback to summary
pack-priv final CompletableSubscriber actual
doneback to summary
pack-priv volatile boolean done
innerback to summary
pack-priv final CompletableOnSubscribeConcat.CompletableConcatSubscriber.ConcatInnerSubscriber inner
onceback to summary
pack-priv final AtomicBoolean once
queueback to summary
pack-priv final SpscArrayQueue<Completable> queue
srback to summary
pack-priv final SequentialSubscription sr

Constructor Detail

CompletableConcatSubscriberback to summary
public CompletableConcatSubscriber(CompletableSubscriber actual, int prefetch)

Method Detail

drainback to summary
pack-priv void drain()
innerCompleteback to summary
pack-priv void innerComplete()
innerErrorback to summary
pack-priv void innerError(Throwable e)
onCompletedback to summary
public void onCompleted()

Implements rx.Observer.onCompleted.

Doc from rx.Observer.onCompleted.

Notifies the Observer that the Observable has finished sending push-based notifications.

The Observable will not call this method if it calls onError.

Annotations
@Override
onErrorback to summary
public void onError(Throwable t)

Implements rx.Observer.onError.

Doc from rx.Observer.onError.

Notifies the Observer that the Observable has experienced an error condition.

If the Observable calls this method, it will not thereafter call onNext or onCompleted.

Parameters
t:Throwable

the exception encountered by the Observable

Annotations
@Override
onNextback to summary
public void onNext(Completable t)

Implements rx.Observer.onNext.

Doc from rx.Observer.onNext.

Provides the Observer with a new item to observe.

The Observable may call this method 0 or more times.

The Observable will not call this method again after it calls either onCompleted or onError.

Parameters
t:Completable

the item emitted by the Observable

Annotations
@Override
rx.internal.operators back to summary

pack-priv final Class CompletableOnSubscribeConcat.CompletableConcatSubscriber.ConcatInnerSubscriber

extends AtomicInteger
implements CompletableSubscriber
Class Inheritance
All Implemented Interfaces
rx.CompletableSubscriber

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
onCompleted()

Implements rx.CompletableSubscriber.onCompleted.

Called once the deferred computation completes normally.
public void
onError(Throwable
the exception, not null.
e
)

Implements rx.CompletableSubscriber.onError.

Called once if the deferred computation 'throws' an exception.
public void
onSubscribe(Subscription
the Subscription instance to call dispose on for cancellation, not null
d
)

Implements rx.CompletableSubscriber.onSubscribe.

Called once by the Completable to set a Subscription on this instance which then can be used to cancel the subscription at any time.
Inherited from java.util.concurrent.atomic.AtomicInteger:
accumulateAndGetaddAndGetcompareAndExchangecompareAndExchangeAcquirecompareAndExchangeReleasecompareAndSetdecrementAndGetdoubleValuefloatValuegetgetAcquiregetAndAccumulategetAndAddgetAndDecrementgetAndIncrementgetAndSetgetAndUpdategetOpaquegetPlainincrementAndGetintValuelazySetlongValuesetsetOpaquesetPlainsetReleasetoStringupdateAndGetweakCompareAndSetweakCompareAndSetAcquireweakCompareAndSetPlainweakCompareAndSetReleaseweakCompareAndSetVolatile

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.concurrent.atomic.AtomicInteger.serialVersionUID.

Constructor Detail

ConcatInnerSubscriberback to summary
pack-priv ConcatInnerSubscriber()

Method Detail

onCompletedback to summary
public void onCompleted()

Implements rx.CompletableSubscriber.onCompleted.

Doc from rx.CompletableSubscriber.onCompleted.

Called once the deferred computation completes normally.

Annotations
@Override
onErrorback to summary
public void onError(Throwable e)

Implements rx.CompletableSubscriber.onError.

Doc from rx.CompletableSubscriber.onError.

Called once if the deferred computation 'throws' an exception.

Parameters
e:Throwable

the exception, not null.

Annotations
@Override
onSubscribeback to summary
public void onSubscribe(Subscription d)

Implements rx.CompletableSubscriber.onSubscribe.

Doc from rx.CompletableSubscriber.onSubscribe.

Called once by the Completable to set a Subscription on this instance which then can be used to cancel the subscription at any time.

Parameters
d:Subscription

the Subscription instance to call dispose on for cancellation, not null

Annotations
@Override