Top Inners Fields Constructors Methods
io.reactivex.internal.operators.flowable

public final Class FlowableMaterialize<T>

extends AbstractFlowableWithUpstream<T, Notification<T>>
Class Inheritance
Imports
org.reactivestreams.Subscriber, io.reactivex.*, io.reactivex.internal.subscribers.SinglePostCompleteSubscriber, io.reactivex.plugins.RxJavaPlugins

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Inherited from io.reactivex.internal.operators.flowable.AbstractFlowableWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
subscribeActual(Subscriber<? super Notification<T>>
the incoming Subscriber, never null
s
)

Implements abstract io.reactivex.Flowable.subscribeActual.

Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.
Inherited from io.reactivex.internal.operators.flowable.AbstractFlowableWithUpstream:
source

Constructor Detail

FlowableMaterializeback to summary
public FlowableMaterialize(Flowable<T> source)

Method Detail

subscribeActualback to summary
protected void subscribeActual(Subscriber<? super Notification<T>> s)

Implements abstract io.reactivex.Flowable.subscribeActual.

Doc from io.reactivex.Flowable.subscribeActual.

Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.

There is no need to call any of the plugin hooks on the current Flowable instance or the Subscriber; all hooks and basic safeguards have been applied by subscribe(Subscriber) before this method gets called.

Parameters
s:Subscriber<? super Notification<T>>

the incoming Subscriber, never null

Annotations
@Override
io.reactivex.internal.operators.flowable back to summary

pack-priv final Class FlowableMaterialize.MaterializeSubscriber<T>

extends SinglePostCompleteSubscriber<T, Notification<T>>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from io.reactivex.internal.subscribers.SinglePostCompleteSubscriber:
downstreamproducedupstreamvalue

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
onComplete()

Implements org.reactivestreams.Subscriber.onComplete.

Successful terminal state.
protected void
onDrop(Notification<T>
the value dropped
n
)

Overrides io.reactivex.internal.subscribers.SinglePostCompleteSubscriber.onDrop.

Called in case of multiple calls to complete.
public void
onError(Throwable
the throwable signaled
t
)

Implements org.reactivestreams.Subscriber.onError.

Failed terminal state.
public void
onNext(T
the element signaled
t
)

Implements org.reactivestreams.Subscriber.onNext.

Data notification sent by the Publisher in response to requests to Subscription#request(long).
Inherited from io.reactivex.internal.subscribers.SinglePostCompleteSubscriber:
cancelcompleteonSubscriberequest

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.reactivex.internal.subscribers.SinglePostCompleteSubscriber.serialVersionUID.

Constructor Detail

MaterializeSubscriberback to summary
pack-priv MaterializeSubscriber(Subscriber<? super Notification<T>> downstream)

Method Detail

onCompleteback to summary
public void onComplete()

Implements org.reactivestreams.Subscriber.onComplete.

Doc from org.reactivestreams.Subscriber.onComplete.

Successful terminal state.

No further events will be sent even if Subscription#request(long) is invoked again.

Annotations
@Override
onDropback to summary
protected void onDrop(Notification<T> n)

Overrides io.reactivex.internal.subscribers.SinglePostCompleteSubscriber.onDrop.

Doc from io.reactivex.internal.subscribers.SinglePostCompleteSubscriber.onDrop.

Called in case of multiple calls to complete.

Parameters
n:Notification<T>

the value dropped

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

Implements org.reactivestreams.Subscriber.onError.

Doc from org.reactivestreams.Subscriber.onError.

Failed terminal state.

No further events will be sent even if Subscription#request(long) is invoked again.

Parameters
t:Throwable

the throwable signaled

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

Implements org.reactivestreams.Subscriber.onNext.

Doc from org.reactivestreams.Subscriber.onNext.

Data notification sent by the Publisher in response to requests to Subscription#request(long).

Parameters
t:T

the element signaled

Annotations
@Override