public class SynchronizedObserver<M> extends PassthroughObserver<M,M>
Constructor and Description |
---|
SynchronizedObserver(Observer<? super M> downstreamObserver,
java.lang.Object mutex) |
Modifier and Type | Method and Description |
---|---|
void |
onComplete() |
void |
onFail(java.lang.Throwable t) |
void |
onNext(M message)
The method which will receive notification from an
Observable . |
void |
onObserve(Observation observation) |
getDownstreamObserver, getObservation, initializeObservation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCompletion, onFailure, onObservation, singleUse
public void onNext(M message)
Observer
Observable
.public void onComplete()
onComplete
in interface Observer<M>
onComplete
in class PassthroughObserver<M,M>
public void onFail(java.lang.Throwable t)
public void onObserve(Observation observation)