| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final boolean | |
| pack-priv final Function | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public | ObservableGroupBy(ObservableSource<T> source, Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | subscribeActual(Observer<? super GroupedObservable<K, V>>
the incoming Observer, never null t)Implements abstract io. Observers.
|
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends K> keySelector | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends V> valueSelector | |
| ObservableGroupBy | back to summary |
|---|---|
| public ObservableGroupBy(ObservableSource<T> source, Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError) | |
| subscribeActual | back to summary |
|---|---|
| public void subscribeActual(Observer<? super GroupedObservable<K, V>> t) 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final AtomicBoolean | |
| pack-priv final boolean | |
| pack-priv final Observer | |
| pack-priv final Map | |
| pack-priv final Function | |
| pack-priv static final Object | |
| private static final long | |
| pack-priv Disposable | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public | GroupByObserver(Observer<? super GroupedObservable<K, V>> actual, Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| 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.
|
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| cancelled | back to summary |
|---|---|
| pack-priv final AtomicBoolean cancelled | |
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super GroupedObservable<K, V>> downstream | |
| groups | back to summary |
|---|---|
| pack-priv final Map<Object, ObservableGroupBy. | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends K> keySelector | |
| NULL_KEY | back to summary |
|---|---|
| pack-priv static final Object NULL_KEY | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends V> valueSelector | |
| GroupByObserver | back to summary |
|---|---|
| public GroupByObserver(Observer<? super GroupedObservable<K, V>> actual, Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError) | |
| cancel | back to summary |
|---|---|
| public void cancel(K key) | |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ObservableGroupBy. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static <T, K> ObservableGroupBy. | createWith(K key, int bufferSize, ObservableGroupBy.
|
| public void | |
| public void | |
| public void | |
| protected void | subscribeActual(Observer<? super T>
the incoming Observer, never null observer)Implements abstract io. Observers.
|
| state | back to summary |
|---|---|
| pack-priv final ObservableGroupBy. | |
| GroupedUnicast | back to summary |
|---|---|
| protected GroupedUnicast(K key, ObservableGroupBy. | |
| createWith | back to summary |
|---|---|
| public static <T, K> ObservableGroupBy. | |
| onComplete | back to summary |
|---|---|
| public void onComplete() | |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) | |
| 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 | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AtomicReference | |
| pack-priv final AtomicBoolean | |
| pack-priv final boolean | |
| pack-priv volatile boolean | |
| pack-priv Throwable | |
| pack-priv final K | |
| pack-priv final AtomicBoolean | |
| pack-priv final ObservableGroupBy. | |
| pack-priv final SpscLinkedArrayQueue | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public void | dispose()
Implements io. |
| pack-priv void | |
| public boolean | isDisposed()
Implements io. |
| public void | |
| public void | |
| public void | |
| public void | subscribe(Observer<? super T>
the Observer, not null observer)Implements io. |
| actual | back to summary |
|---|---|
| pack-priv final AtomicReference<Observer<? super T>> actual | |
| cancelled | back to summary |
|---|---|
| pack-priv final AtomicBoolean cancelled | |
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| key | back to summary |
|---|---|
| pack-priv final K key | |
| once | back to summary |
|---|---|
| pack-priv final AtomicBoolean once | |
| parent | back to summary |
|---|---|
| pack-priv final ObservableGroupBy. | |
| queue | back to summary |
|---|---|
| pack-priv final SpscLinkedArrayQueue<T> queue | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| State | back to summary |
|---|---|
| pack-priv State(int bufferSize, ObservableGroupBy. | |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, Observer<? super T> a, boolean delayError) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| 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() | |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) | |
| subscribe | back to summary |
|---|---|
| public void subscribe(Observer<? super T> observer) Implements io. Doc from io. Subscribes the given Observer to this ObservableSource instance. | |