public class ExecutorObserver<T> extends SafeObserver<T>
| Constructor and Description |
|---|
ExecutorObserver(Observer<? super T> downstreamObserver,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete() |
void |
onFail(java.lang.Throwable t) |
void |
onNext(T message)
The method which will receive notification from an
Observable. |
void |
onObserve(Observation observation) |
assertCanMakeObservation, assertIsMakingObservation, cancelObservation, getObservation, initializeObservation, isMakingObservation, tryAction, unmanagedErrorgetDownstreamObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCompletion, onFailure, onObservation, singleUsepublic void onNext(T message)
ObserverObservable.public void onObserve(Observation observation)
public void onComplete()
onComplete in interface Observer<T>onComplete in class SafeObserver<T>