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, unmanagedError
getDownstreamObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCompletion, onFailure, onObservation, singleUse
public void onNext(T message)
Observer
Observable
.public void onObserve(Observation observation)
public void onComplete()
onComplete
in interface Observer<T>
onComplete
in class SafeObserver<T>