| Package | Description |
|---|---|
| rx |
Rx Observables
|
| rx.annotations | |
| rx.exceptions | |
| rx.internal.util | |
| rx.observables | |
| rx.singles |
| Modifier and Type | Method and Description |
|---|---|
static <T> Observable |
Observable.concatEager(Iterable
Concatenates a sequence of Observables eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Iterable
Concatenates a sequence of Observables eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates an Observable sequence of Observables eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates an Observable sequence of Observables eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates two source Observables eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates three sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates four sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates five sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates six sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates seven sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates eight sources eagerly into a single stream of values.
|
static <T> Observable |
Observable.concatEager(Observable
Concatenates nine sources eagerly into a single stream of values.
|
<R> Observable |
Observable.concatMapEager(Func1
Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.
|
<R> Observable |
Observable.concatMapEager(Func1
Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.
|
static <T> Single |
Single.defer(Callable
|
Single |
Single.delay(long delay, TimeUnit
Returns an Single that emits the items emitted by the source Single shifted forward in time by a specified delay.
|
Single |
Single.delay(long delay, TimeUnit
Returns an Single that emits the items emitted by the source Single shifted forward in time by a specified delay.
|
Single |
Single.doOnError(Action1
Modifies the source
Single so that it invokes an action if it calls
onError.
|
Single |
Single.doOnSuccess(Action1
Modifies the source
Single so that it invokes an action when it calls
onSuccess.
|
<R> R |
Observable.extend(Func1
Passes all emitted values from this Observable to the provided conversion function to be collected and returned as a single value.
|
static <T> Single |
Single.fromCallable(Callable
Returns a
Single that invokes passed function and emits its result for each new Observer that subscribes.
|
static <T> Observable |
Observable.fromCallable(Callable
Returns an Observable that, when an observer subscribes to it, invokes a function you specify and then emits the value returned from that function.
|
static <T> Observable |
Observable.mergeDelayError(Observable
Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.
|
BlockingSingle |
Single.toBlocking()
Converts a Single into a
BlockingSingle (a Single with blocking operators).
|
Observable |
Observable.toSortedList(Func2
Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order based on a specified comparison function.
|
Observable |
Observable.toSortedList(int initialCapacity)
Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order.
|
static <T |
Observable.using(Func0
Constructs an Observable that creates a dependent resource object which is disposed of just before termination if you have set
disposeEagerly to
true and unsubscription does not occur before termination.
|
<U |
Observable.withLatestFrom(Observable
Merges the specified Observable into this Observable sequence by using the
resultSelector function only when the source Observable (this instance) emits an item.
|
| Modifier and Type | Class and Description |
|---|---|
interface |
Experimental
Signifies that a public API (public class, method or field) is will almost certainly be changed or removed in a future release.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Exceptions.throwOrReport(Throwable
Forwards a fatal exception or reports it to the given Observer.
|
static void |
Exceptions.throwOrReport(Throwable
Forwards a fatal exception or reports it along with the value caused it to the given Observer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackpressureDrainManager
Manages the producer-backpressure-consumer interplay by matching up available elements with requested elements and/or terminal events.
|
class |
BlockingUtils
Utility functions relating to blocking types.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BlockingUtils.awaitForComplete(CountDownLatch
Blocks and waits for a
Subscription to complete.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncOnSubscribe<S
A utility class to create
OnSubscribe<T> functions that respond correctly to back pressure requests from subscribers.
|
class |
SyncOnSubscribe<S
A utility class to create
OnSubscribe<T> functions that respond correctly to back pressure requests from subscribers.
|
| Modifier and Type | Method and Description |
|---|---|
static <S |
SyncOnSubscribe.createSingleState(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
SyncOnSubscribe.createSingleState(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
AsyncOnSubscribe.createSingleState(Func0
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
AsyncOnSubscribe.createSingleState(Func0
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
SyncOnSubscribe.createStateful(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
SyncOnSubscribe.createStateful(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
AsyncOnSubscribe.createStateful(Func0
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
AsyncOnSubscribe.createStateful(Func0
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <T> Observable |
SyncOnSubscribe.createStateless(Action1
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <T> Observable |
SyncOnSubscribe.createStateless(Action1
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <T> Observable |
AsyncOnSubscribe.createStateless(Action2
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <T> Observable |
AsyncOnSubscribe.createStateless(Action2
Generates a synchronous
AsyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
void |
BlockingObservable.subscribe()
Runs the source observable to a terminal event, ignoring any values and rethrowing any exception.
|
void |
BlockingObservable.subscribe(Action1
Subscribes to the source and calls the given action on the current thread and rethrows any exception wrapped into OnErrorNotImplementedException.
|
void |
BlockingObservable.subscribe(Action1
Subscribes to the source and calls the given actions on the current thread.
|
void |
BlockingObservable.subscribe(Action1
Subscribes to the source and calls the given actions on the current thread.
|
void |
BlockingObservable.subscribe(Observer
Subscribes to the source and calls back the Observer methods on the current thread.
|
void |
BlockingObservable.subscribe(Subscriber
Subscribes to the source and calls the Subscriber methods on the current thread.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockingSingle<T>
BlockingSingle is a blocking "version" of
Single that provides blocking operators.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> BlockingSingle |
BlockingSingle.from(Single
Converts a
Single into a
BlockingSingle.
|
Future |
BlockingSingle.toFuture()
Returns a
Future representing the value emitted by this
BlockingSingle.
|
T |
BlockingSingle.value()
Returns the item emitted by this
BlockingSingle.
|