| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ObservableRefCount. | |
| pack-priv final int | |
| pack-priv final Scheduler | |
| pack-priv final ConnectableObservable | |
| pack-priv final long | |
| pack-priv final TimeUnit |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ObservableRefCount(ConnectableObservable<T> source, int n, long timeout, TimeUnit unit, Scheduler scheduler)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected void | subscribeActual(Observer<? super T>
the incoming Observer, never null observer)Implements abstract io. Observers.
|
| pack-priv void | |
| pack-priv void |
| connection | back to summary |
|---|---|
| pack-priv ObservableRefCount. | |
| n | back to summary |
|---|---|
| pack-priv final int n | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| source | back to summary |
|---|---|
| pack-priv final ConnectableObservable<T> source | |
| timeout | back to summary |
|---|---|
| pack-priv final long timeout | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| ObservableRefCount | back to summary |
|---|---|
| public ObservableRefCount(ConnectableObservable<T> source) | |
| ObservableRefCount | back to summary |
|---|---|
| public ObservableRefCount(ConnectableObservable<T> source, int n, long timeout, TimeUnit unit, Scheduler scheduler) | |
| cancel | back to summary |
|---|---|
| pack-priv void cancel(ObservableRefCount. | |
| clearTimer | back to summary |
|---|---|
| pack-priv void clearTimer(ObservableRefCount. | |
| reset | back to summary |
|---|---|
| pack-priv void reset(ObservableRefCount. | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Observer<? super T> observer) Implements abstract io. Doc from io. Operator implementations (both source and intermediate) should implement this method that
performs the necessary business logic and handles the incoming There is no need to call any of the plugin hooks on the current | |
| terminated | back to summary |
|---|---|
| pack-priv void terminated(ObservableRefCount. | |
| timeout | back to summary |
|---|---|
| pack-priv void timeout(ObservableRefCount. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv final ObservableRefCount | |
| private static final long | |
| pack-priv long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Disposable
the value t)Implements io. |
| public void |
| connected | back to summary |
|---|---|
| pack-priv boolean connected | |
| disconnectedEarly | back to summary |
|---|---|
| pack-priv boolean disconnectedEarly | |
| parent | back to summary |
|---|---|
| pack-priv final ObservableRefCount<?> parent | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| subscriberCount | back to summary |
|---|---|
| pack-priv long subscriberCount | |
| timer | back to summary |
|---|---|
| pack-priv Disposable timer | |
| RefConnection | back to summary |
|---|---|
| pack-priv RefConnection(ObservableRefCount<?> parent) | |
| accept | back to summary |
|---|---|
| public void accept(Disposable t) throws Exception Implements io. Doc from io. Consume the given value.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ObservableRefCount. | |
| pack-priv final Observer | |
| pack-priv final ObservableRefCount | |
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | RefCountObserver(Observer<? super T> downstream, ObservableRefCount<T> parent, ObservableRefCount.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | onComplete()
Implements io. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable t)Implements io. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements io. |
| public void | onSubscribe(Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onNext(Object)) and asynchronous manner.
|
| connection | back to summary |
|---|---|
| pack-priv final ObservableRefCount. | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super T> downstream | |
| parent | back to summary |
|---|---|
| pack-priv final ObservableRefCount<T> parent | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| RefCountObserver | back to summary |
|---|---|
| pack-priv RefCountObserver(Observer<? super T> downstream, ObservableRefCount<T> parent, ObservableRefCount. | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements io. Doc from io. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the Observer with a new item to observe.
The
The
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Provides the Observer with the means of cancelling (disposing) the
connection (channel) with the Observable in both
synchronous (from within
| |