See: Description
Class | Description |
---|---|
BackpressureUtils |
Utility functions for use with backpressure.
|
BlockingOperatorLatest |
Wait for and iterate over the latest values of the source observable.
|
BlockingOperatorMostRecent |
Returns an Iterable that always returns the item most recently emitted by an Observable, or a
seed value if no item has yet been emitted.
|
BlockingOperatorNext |
Returns an Iterable that blocks until the Observable emits another item, then returns that item.
|
BlockingOperatorToFuture |
Returns a Future representing the single value emitted by an Observable.
|
BlockingOperatorToIterator |
Returns an Iterator that iterates over all items emitted by a specified Observable.
|
BlockingOperatorToIterator.SubscriberIterator<T> | |
BufferUntilSubscriber<T> |
A solution to the "time gap" problem that occurs with
groupBy and pivot . |
CachedObservable<T> |
An observable which auto-connects to another observable, caches the elements
from that observable but allows terminating the connection and completing the cache.
|
CompletableFlatMapSingleToCompletable<T> | |
CompletableFromEmitter |
Allows push-based emission of terminal events to a CompletableSubscriber.
|
CompletableOnSubscribeConcat | |
CompletableOnSubscribeConcatArray | |
CompletableOnSubscribeConcatIterable | |
CompletableOnSubscribeMerge | |
CompletableOnSubscribeMergeArray | |
CompletableOnSubscribeMergeDelayErrorArray | |
CompletableOnSubscribeMergeDelayErrorIterable | |
CompletableOnSubscribeMergeIterable | |
CompletableOnSubscribeTimeout | |
DeferredScalarSubscriber<T,R> |
Base class for Subscribers that consume the entire upstream and signal
zero or one element (or an error) in a backpressure honoring fashion.
|
DeferredScalarSubscriberSafe<T,R> |
Supplements
DeferredScalarSubscriber with defensive behaviour that ensures no emissions
occur after a terminal event. |
NotificationLite |
For use in internal operators that need something like materialize and dematerialize wholly within the
implementation of the operator but don't want to incur the allocation cost of actually creating
Notification objects for every onNext and
onCompleted . |
OnSubscribeAmb<T> |
Given multiple
Observable s, propagates the one that first emits an item. |
OnSubscribeAutoConnect<T> |
Wraps a ConnectableObservable and calls its connect() method once
the specified number of Subscribers have subscribed.
|
OnSubscribeCollect<T,R> | |
OnSubscribeCombineLatest<T,R> | |
OnSubscribeConcatMap<T,R> |
Maps a source sequence into Observables and concatenates them in order, subscribing
to one at a time.
|
OnSubscribeCreate<T> | |
OnSubscribeDefer<T> |
Do not create the Observable until an Observer subscribes; create a fresh Observable on each
subscription.
|
OnSubscribeDelaySubscription<T> |
Delays the subscription to the source by the given amount, running on the given scheduler.
|
OnSubscribeDelaySubscriptionOther<T,U> |
Delays the subscription to the main source until the other
observable fires an event or completes.
|
OnSubscribeDelaySubscriptionWithSelector<T,U> |
Delays the subscription until the Observable emits an event.
|
OnSubscribeDetach<T> |
Nulls out references to upstream data structures when the source terminates or
the child unsubscribes.
|
OnSubscribeDoOnEach<T> |
Calls specified actions for each notification.
|
OnSubscribeFilter<T> |
Filters an Observable by discarding any items it emits that do not meet some test.
|
OnSubscribeFlatMapCompletable<T> |
Maps upstream values to Completables and merges them, up to a given
number of them concurrently, optionally delaying errors.
|
OnSubscribeFlatMapSingle<T,R> |
Maps upstream values to Singles and merges them, up to a given
number of them concurrently, optionally delaying errors.
|
OnSubscribeFlattenIterable<T,R> |
Flattens a sequence if Iterable sources, generated via a function, into a single sequence.
|
OnSubscribeFromArray<T> | |
OnSubscribeFromCallable<T> |
Do not invoke the function until an Observer subscribes; Invokes function on each
subscription.
|
OnSubscribeFromIterable<T> |
Converts an
Iterable sequence into an Observable . |
OnSubscribeGroupJoin<T1,T2,D1,D2,R> |
Correlates two sequences when they overlap and groups the results.
|
OnSubscribeJoin<TLeft,TRight,TLeftDuration,TRightDuration,R> |
Correlates the elements of two sequences based on overlapping durations.
|
OnSubscribeLift<T,R> |
Transforms the downstream Subscriber into a Subscriber via an operator
callback and calls the parent OnSubscribe.call() method with it.
|
OnSubscribeMap<T,R> |
Applies a function of your choosing to every item emitted by an
Observable , and emits the results of
this transformation as a new Observable . |
OnSubscribeOnAssembly<T> |
Captures the current stack when it is instantiated, makes
it available through a field and attaches it to all
passing exception.
|
OnSubscribeOnAssemblyCompletable<T> |
Captures the current stack when it is instantiated, makes
it available through a field and attaches it to all
passing exception.
|
OnSubscribeOnAssemblySingle<T> |
Captures the current stack when it is instantiated, makes
it available through a field and attaches it to all
passing exception.
|
OnSubscribePublishMulticast<T> |
Multicasts notifications coming through its input Subscriber view to its
client Subscribers via lockstep backpressure mode.
|
OnSubscribeRange |
Emit integers from start to end inclusive.
|
OnSubscribeRedo<T> | |
OnSubscribeRedo.RedoFinite | |
OnSubscribeRedo.RetryWithPredicate | |
OnSubscribeReduce<T> | |
OnSubscribeReduceSeed<T,R> | |
OnSubscribeRefCount<T> |
Returns an observable sequence that stays connected to the source as long as
there is at least one subscription to the observable sequence.
|
OnSubscribeSingle<T> |
Allows conversion of an Observable to a Single ensuring that exactly one item is emitted - no more and no less.
|
OnSubscribeSkipTimed<T> |
Skips elements until a specified time elapses.
|
OnSubscribeSwitchIfEmpty<T> |
If the Observable completes without emitting any items, subscribe to an alternate Observable.
|
OnSubscribeTakeLastOne<T> | |
OnSubscribeThrow<T> | |
OnSubscribeTimeoutSelectorWithFallback<T,U,V> |
Switches to the fallback Observable if: the first upstream item doesn't arrive before
the first timeout Observable signals an item or completes; or the Observable generated from
the previous upstream item signals its item or completes before the upstream signals the next item
of its own.
|
OnSubscribeTimeoutTimedWithFallback<T> |
Switches to consuming a fallback Observable if the main source doesn't signal an onNext event
within the given time frame after subscription or the previous onNext event.
|
OnSubscribeTimerOnce |
Timer that emits a single 0L and completes after the specified time.
|
OnSubscribeTimerPeriodically |
Emit 0L after the initial period and ever increasing number after each period.
|
OnSubscribeToMap<T,K,V> |
Maps the elements of the source observable into a java.util.Map instance and
emits that once the source observable completes.
|
OnSubscribeToMultimap<T,K,V> |
Maps the elements of the source observable into a multimap
(Map<K, Collection<V>>) where each
key entry has a collection of the source's values.
|
OnSubscribeToObservableFuture |
Converts a
Future into an Observable . |
OnSubscribeUsing<T,Resource> |
Constructs an observable sequence that depends on a resource object.
|
OperatorAll<T> |
Returns an Observable that emits a Boolean that indicates whether all items emitted by an
Observable satisfy a condition.
|
OperatorAny<T> |
Returns an
Observable that emits true if any element of
an observable sequence satisfies a condition, otherwise false . |
OperatorAsObservable<T> |
Hides the identity of another observable.
|
OperatorBufferWithSingleObservable<T,TClosing> |
This operation takes
values from the specified
Observable source and stores them in a buffer until the
Observable constructed using the Func0 argument, produces a value. |
OperatorBufferWithSize<T> |
This operation takes
values from the specified
Observable source and stores them in all active chunks until the buffer
contains a specified number of elements. |
OperatorBufferWithStartEndObservable<T,TOpening,TClosing> |
This operation takes
values from the specified
Observable source and stores them in the currently active chunks. |
OperatorBufferWithTime<T> |
This operation takes
values from the specified
Observable source and stores them in a buffer. |
OperatorCast<T,R> |
Converts the elements of an observable sequence to the specified type.
|
OperatorDebounceWithSelector<T,U> |
Delay the emission via another observable if no new source appears in the meantime.
|
OperatorDebounceWithTime<T> |
This operation filters out events which are published too quickly in succession.
|
OperatorDelay<T> |
Delays the emission of onNext events by a given amount of time.
|
OperatorDelayWithSelector<T,V> |
Delay the subscription and emission of the source items by a per-item observable that fires its first element.
|
OperatorDematerialize<T> |
Reverses the effect of
OperatorMaterialize by transforming the Notification objects
emitted by a source Observable into the items or notifications they represent. |
OperatorDistinct<T,U> |
Returns an Observable that emits all distinct items emitted by the source.
|
OperatorDistinctUntilChanged<T,U> |
Returns an Observable that emits all sequentially distinct items emitted by the source.
|
OperatorDoAfterTerminate<T> |
Registers an action to be called after an Observable invokes
onComplete or onError . |
OperatorDoOnRequest<T> |
This operator modifies an
Observable so a given action is invoked when the
Producer receives a request. |
OperatorDoOnSubscribe<T> |
This operator modifies an
Observable so a given action is invoked when the Observable is subscribed. |
OperatorDoOnUnsubscribe<T> |
This operator modifies an
Observable so a given action is invoked when the Observable is unsubscribed. |
OperatorEagerConcatMap<T,R> | |
OperatorElementAt<T> |
Returns the element at a specified index in a sequence.
|
OperatorGroupBy<T,K,V> |
Groups the items emitted by an Observable according to a specified criterion, and emits these
grouped items as Observables, one Observable per group.
|
OperatorGroupBy.GroupByProducer | |
OperatorGroupBy.GroupBySubscriber<T,K,V> | |
OperatorIgnoreElements<T> | |
OperatorMapNotification<T,R> |
Applies a function of your choosing to every item emitted by an
Observable , and emits the results of
this transformation as a new Observable . |
OperatorMapPair<T,U,R> |
An
Observable.Operator that pairs up items emitted by a source Observable with the sequence of items
emitted by the Observable that is derived from each item by means of a selector, and emits the
results of this pairing. |
OperatorMaterialize<T> |
Turns all of the notifications from an Observable into
onNext emissions, and marks
them with their original notification types within Notification objects. |
OperatorMerge<T> |
Flattens a list of
Observable s into one Observable , without any transformation. |
OperatorMulticast<T,R> |
Shares a single subscription to a source through a Subject.
|
OperatorObserveOn<T> |
Delivers events on the specified
Scheduler asynchronously via an unbounded buffer. |
OperatorOnBackpressureBuffer<T> | |
OperatorOnBackpressureDrop<T> | |
OperatorOnBackpressureLatest<T> |
An operator which drops all but the last received value in case the downstream
doesn't request more.
|
OperatorOnErrorResumeNextViaFunction<T> |
Instruct an Observable to pass control to another Observable (the return value of a function)
rather than invoking
onError if it encounters an error. |
OperatorPublish<T> |
A connectable observable which shares an underlying source and dispatches source values to subscribers in a backpressure-aware
manner.
|
OperatorReplay<T> | |
OperatorRetryWithPredicate<T> | |
OperatorSampleWithObservable<T,U> |
Sample with the help of another observable.
|
OperatorSampleWithTime<T> |
Returns an Observable that emits the results of sampling the items emitted by the source
Observable at a specified time interval.
|
OperatorScan<R,T> |
Returns an Observable that applies a function to the first item emitted by a source Observable, then feeds
the result of that function along with the second item emitted by an Observable into the same function, and
so on until all items have been emitted by the source Observable, emitting the result of each of these
iterations.
|
OperatorSequenceEqual |
Returns an
Observable that emits a single Boolean value that indicates whether two source
Observable s emit sequences of items that are equivalent to each other. |
OperatorSerialize<T> | |
OperatorSingle<T> |
If the Observable completes after emitting a single item that matches a
predicate, return an Observable containing that item.
|
OperatorSkip<T> |
Returns an Observable that skips the first
num items emitted by the source
Observable. |
OperatorSkipLast<T> |
Bypasses a specified number of elements at the end of an observable sequence.
|
OperatorSkipLastTimed<T> |
Skip delivering values in the time window before the values.
|
OperatorSkipUntil<T,U> |
Skip elements from the source Observable until the secondary
observable fires an element.
|
OperatorSkipWhile<T> |
Skips any emitted source items as long as the specified condition holds true.
|
OperatorSubscribeOn<T> |
Subscribes Observers on the specified
Scheduler . |
OperatorSwitch<T> |
Transforms an Observable that emits Observables into a single Observable that
emits the items emitted by the most recently published of those Observables.
|
OperatorTake<T> |
An
Observable that emits the first num items emitted by the source Observable . |
OperatorTakeLast<T> |
Returns an Observable that emits the at most the last
count items emitted by the source Observable. |
OperatorTakeLastTimed<T> |
Returns an Observable that emits the last
count items emitted by the source Observable. |
OperatorTakeTimed<T> |
Takes values from the source until the specific time elapses.
|
OperatorTakeUntil<T,E> |
Returns an Observable that emits the items from the source Observable until another Observable
emits an item.
|
OperatorTakeUntilPredicate<T> |
Returns an Observable that emits items emitted by the source Observable until
the provided predicate returns false
|
OperatorTakeWhile<T> |
O
Returns an Observable that emits items emitted by the source Observable as long as a specified
condition is true.
|
OperatorThrottleFirst<T> |
Throttle by windowing a stream and returning the first value in each window.
|
OperatorTimeInterval<T> |
Records the time interval between consecutive elements in an observable sequence.
|
OperatorTimestamp<T> |
Wraps each item emitted by a source
Observable in a Timestamped object. |
OperatorToObservableList<T> |
Returns an
Observable that emits a single item, a list composed of all the items emitted by the
source Observable . |
OperatorToObservableSortedList<T> |
Return an
Observable that emits the items emitted by the source Observable , in a sorted order
(each item emitted by the Observable must implement Comparable with respect to all other
items in the sequence, or you must pass in a sort function). |
OperatorUnsubscribeOn<T> |
Unsubscribes on the specified Scheduler.
|
OperatorWindowWithObservable<T,U> |
Creates non-overlapping windows of items where each window is terminated by
an event from a secondary observable and a new window is started immediately.
|
OperatorWindowWithObservableFactory<T,U> |
Creates non-overlapping windows of items where each window is terminated by
an event from a secondary observable and a new window is started immediately.
|
OperatorWindowWithSize<T> |
Creates windows of values into the source sequence with skip frequency and size bounds.
|
OperatorWindowWithStartEndObservable<T,U,V> |
Creates potentially overlapping windows of the source items where each window is
started by a value emitted by an observable and closed when an associated Observable emits
a value or completes.
|
OperatorWindowWithTime<T> |
Creates windows of values into the source sequence with timed window creation, length and size bounds.
|
OperatorWithLatestFrom<T,U,R> |
Combines values from two sources only when the main source emits.
|
OperatorWithLatestFromMany<T,R> | |
OperatorZip<R> |
Returns an Observable that emits the results of a function applied to sets of items emitted, in
sequence, by two or more other Observables.
|
OperatorZipIterable<T1,T2,R> | |
SingleDelay<T> |
Signal the success or error value on the Scheduler's thread.
|
SingleDoAfterTerminate<T> |
Execute an action after onSuccess or onError has been delivered.
|
SingleDoOnEvent<T> | |
SingleDoOnSubscribe<T> |
Call an Action0 when the subscription happens to the source.
|
SingleDoOnUnsubscribe<T> |
Call an Action0 when the subscription happens to the source.
|
SingleFromCallable<T> |
Execute a callable and emit its resulting value.
|
SingleFromEmitter<T> |
Calls an action with a SingleEmitter instance for each individual subscribers that
generates a terminal signal (eventually).
|
SingleFromFuture<T> |
Wait and emit the value of the Future.
|
SingleFromObservable<T> |
Wrap an Observable.OnSubscribe and expose it as a Single.OnSubscribe.
|
SingleLiftObservableOperator<T,R> |
Lift an Observable.Operator into the Single sequence.
|
SingleObserveOn<T> |
Signal the success or error value on the Scheduler's thread.
|
SingleOnErrorReturn<T> |
Signal a value returned by a resumeFunction when the source signals a Throwable.
|
SingleOnSubscribeDelaySubscriptionOther<T> |
Delays the subscription to the Single until the Observable
fires an event or completes.
|
SingleOnSubscribeMap<T,R> |
Applies a function of your choosing to every item emitted by an
Single , and emits the results of
this transformation as a new Single . |
SingleOnSubscribeUsing<T,Resource> |
Generates a resource, derives a Single from it and disposes that resource once the
Single terminates.
|
SingleOperatorCast<T,R> |
Converts the element of a Single to the specified type.
|
SingleOperatorOnErrorResumeNext<T> | |
SingleOperatorZip | |
SingleTakeUntilCompletable<T> |
Relay the source signals if the other doesn't terminate before.
|
SingleTakeUntilObservable<T,U> |
Relay the source signals if the other doesn't terminate before.
|
SingleTakeUntilSingle<T,U> |
Relay the source signals if the other doesn't terminate before.
|
SingleTimeout<T> | |
SingleToObservable<T> |
Expose a Single.OnSubscribe as an Observable.OnSubscribe.
|
Enum | Description |
---|---|
EmptyObservableHolder |
Holds a singleton instance of an empty Observable which is stateless and completes
the child subscriber immediately.
|
NeverObservableHolder |
Holds a singleton instance of a never Observable which is stateless doesn't
call any of the Subscriber's methods.
|
Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.
The operators are all exposed via the ObservableExtensions class
Copyright © 2018. All rights reserved.