Top Inners Fields Constructors Methods
rx.internal.operators

public final Class SingleTimeout<T>

extends Object
implements Single.OnSubscribe<T>
Class Inheritance
All Implemented Interfaces
rx.Single.OnSubscribe, rx.functions.Action1, rx.functions.Action, rx.functions.Function
Imports
java.util.concurrent.*, java.util.concurrent.atomic.AtomicBoolean, rx.*, rx.functions.Action0, 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 Single.OnSubscribe<? extends T>
pack-priv final Scheduler
pack-priv final Single.OnSubscribe<T>
pack-priv final long
pack-priv final TimeUnit

Constructor Summary

AccessConstructor and Description
public
SingleTimeout(Single.OnSubscribe<T> source, long timeout, TimeUnit unit, Scheduler scheduler, Single.OnSubscribe<? extends T> other)

Method Summary

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

Field Detail

otherback to summary
pack-priv final Single.OnSubscribe<? extends T> other
schedulerback to summary
pack-priv final Scheduler scheduler
sourceback to summary
pack-priv final Single.OnSubscribe<T> source
timeoutback to summary
pack-priv final long timeout
unitback to summary
pack-priv final TimeUnit unit

Constructor Detail

SingleTimeoutback to summary
public SingleTimeout(Single.OnSubscribe<T> source, long timeout, TimeUnit unit, Scheduler scheduler, Single.OnSubscribe<? extends T> other)

Method Detail

callback to summary
public void call(SingleSubscriber<? super T> t)

Implements rx.functions.Action1.call.

Annotations
@Override
rx.internal.operators back to summary

pack-priv final Class SingleTimeout.TimeoutSingleSubscriber<T>

extends SingleSubscriber<T>
implements Action0
Class Inheritance
All Implemented Interfaces
rx.functions.Action0, rx.functions.Action, rx.functions.Function

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final SingleSubscriber<? super T>
pack-priv final AtomicBoolean
pack-priv final Single.OnSubscribe<? extends T>

Constructor Summary

AccessConstructor and Description
pack-priv
TimeoutSingleSubscriber(SingleSubscriber<? super T> actual, Single.OnSubscribe<? extends T> other)

Method Summary

Modifier and TypeMethod and Description
public void
public void
onError(Throwable
the exception encountered by the Single
error
)

Implements abstract rx.SingleSubscriber.onError.

Notifies the SingleSubscriber that the Single has experienced an error condition.
public void
onSuccess(T
the item emitted by the Single
value
)

Implements abstract rx.SingleSubscriber.onSuccess.

Notifies the SingleSubscriber with a single item and that the Single has finished sending push-based notifications.
Inherited from rx.SingleSubscriber:
addisUnsubscribedunsubscribe

Field Detail

actualback to summary
pack-priv final SingleSubscriber<? super T> actual
onceback to summary
pack-priv final AtomicBoolean once
otherback to summary
pack-priv final Single.OnSubscribe<? extends T> other

Constructor Detail

TimeoutSingleSubscriberback to summary
pack-priv TimeoutSingleSubscriber(SingleSubscriber<? super T> actual, Single.OnSubscribe<? extends T> other)

Method Detail

callback to summary
public void call()

Implements rx.functions.Action0.call.

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

Implements abstract rx.SingleSubscriber.onError.

Doc from rx.SingleSubscriber.onError.

Notifies the SingleSubscriber that the Single has experienced an error condition.

If the Single calls this method, it will not thereafter call onSuccess.

Parameters
error:Throwable

the exception encountered by the Single

Annotations
@Override
onSuccessback to summary
public void onSuccess(T value)

Implements abstract rx.SingleSubscriber.onSuccess.

Doc from rx.SingleSubscriber.onSuccess.

Notifies the SingleSubscriber with a single item and that the Single has finished sending push-based notifications.

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

Parameters
value:T

the item emitted by the Single

Annotations
@Override
rx.internal.operators back to summary

pack-priv final Class SingleTimeout.TimeoutSingleSubscriber.OtherSubscriber<T>

extends SingleSubscriber<T>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final SingleSubscriber<? super T>

Constructor Summary

AccessConstructor and Description
pack-priv
OtherSubscriber(SingleSubscriber<? super T> actual)

Method Summary

Modifier and TypeMethod and Description
public void
onError(Throwable
the exception encountered by the Single
error
)

Implements abstract rx.SingleSubscriber.onError.

Notifies the SingleSubscriber that the Single has experienced an error condition.
public void
onSuccess(T
the item emitted by the Single
value
)

Implements abstract rx.SingleSubscriber.onSuccess.

Notifies the SingleSubscriber with a single item and that the Single has finished sending push-based notifications.
Inherited from rx.SingleSubscriber:
addisUnsubscribedunsubscribe

Field Detail

actualback to summary
pack-priv final SingleSubscriber<? super T> actual

Constructor Detail

OtherSubscriberback to summary
pack-priv OtherSubscriber(SingleSubscriber<? super T> actual)

Method Detail

onErrorback to summary
public void onError(Throwable error)

Implements abstract rx.SingleSubscriber.onError.

Doc from rx.SingleSubscriber.onError.

Notifies the SingleSubscriber that the Single has experienced an error condition.

If the Single calls this method, it will not thereafter call onSuccess.

Parameters
error:Throwable

the exception encountered by the Single

Annotations
@Override
onSuccessback to summary
public void onSuccess(T value)

Implements abstract rx.SingleSubscriber.onSuccess.

Doc from rx.SingleSubscriber.onSuccess.

Notifies the SingleSubscriber with a single item and that the Single has finished sending push-based notifications.

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

Parameters
value:T

the item emitted by the Single

Annotations
@Override