Deprecated
since 1.3.7, use OperatorGroupByEvicting instead
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| 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 Func1 | |
| pack-priv final Func1 | |
| pack-priv final Func1 |
| Access | Constructor and Description |
|---|---|
| public | |
| public | OperatorGroupBy(Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber |
| 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 Func1<? super T, ? extends K> keySelector | |
| mapFactory | back to summary |
|---|---|
| pack-priv final Func1<Action1<K>, Map<K, Object>> mapFactory | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends V> valueSelector | |
| OperatorGroupBy | back to summary |
|---|---|
public OperatorGroupBy(Func1<? super T, ? extends K> keySelector)
| |
| OperatorGroupBy | back to summary |
|---|---|
| public OperatorGroupBy(Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector) | |
| OperatorGroupBy | back to summary |
|---|---|
| public OperatorGroupBy(Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector, Func1<Action1<K>, Map<K, Object>> mapFactory) | |
| OperatorGroupBy | back to summary |
|---|---|
| public OperatorGroupBy(Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError, Func1<Action1<K>, Map<K, Object>> mapFactory) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final OperatorGroupBy. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | request(long
the maximum number of items you want this Producer to produce, or n)Long.MAX_VALUE if you
want the Producer to produce items at its own paceImplements rx. |
| parent | back to summary |
|---|---|
| pack-priv final OperatorGroupBy. | |
| GroupByProducer | back to summary |
|---|---|
| public GroupByProducer(OperatorGroupBy. | |
| request | back to summary |
|---|---|
| public void request(long n) Implements rx. Doc from rx. Request a certain maximum number of items from this Producer. This is a way of requesting backpressure.
To disable backpressure, pass
Requests are additive but if a sequence of requests totals more than request(100); request(Long.MAX_VALUE-1);
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Subscriber | |
| pack-priv final int | |
| pack-priv final AtomicBoolean | |
| pack-priv final boolean | |
| pack-priv volatile boolean | |
| pack-priv Throwable | |
| pack-priv final Queue | |
| pack-priv final AtomicInteger | |
| pack-priv final Map | |
| pack-priv final Map | |
| pack-priv final Func1 | |
| pack-priv static final Object | |
| pack-priv final OperatorGroupBy. | |
| pack-priv final Queue | |
| pack-priv final AtomicLong | |
| pack-priv final ProducerArbiter | |
| pack-priv final Func1 | |
| pack-priv final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public | GroupBySubscriber(Subscriber<? super GroupedObservable<K, V>> actual, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError, Func1<Action1<K>, Map<K, Object>> mapFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| pack-priv boolean | checkTerminated(boolean d, boolean empty, Subscriber<? super GroupedObservable<K, V>> a, Queue<?> q)
|
| private Map | |
| pack-priv void | |
| pack-priv void | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable t)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| public void | |
| public void | setProducer(Producer
producer to be used by this subscriber or the other subscriber
(or recursively its other subscriber) to make requests from s)Overrides rx. Subscriber(Subscriber) or
Subscriber(Subscriber, boolean)) then this method calls
setProducer on the other subscriber.
|
| actual | back to summary |
|---|---|
| pack-priv final Subscriber<? super GroupedObservable<K, V>> actual | |
| 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 | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| evictedKeys | back to summary |
|---|---|
| pack-priv final Queue<K> evictedKeys | |
| groupCount | back to summary |
|---|---|
| pack-priv final AtomicInteger groupCount | |
| groups | back to summary |
|---|---|
| pack-priv final Map<Object, OperatorGroupBy. | |
| groupsCopy | back to summary |
|---|---|
| pack-priv final Map<Object, OperatorGroupBy. | |
| keySelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends K> keySelector | |
| NULL_KEY | back to summary |
|---|---|
| pack-priv static final Object NULL_KEY | |
| producer | back to summary |
|---|---|
| pack-priv final OperatorGroupBy. Hides rx. | |
| queue | back to summary |
|---|---|
| pack-priv final Queue<GroupedObservable<K, V>> queue | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested Hides rx. | |
| s | back to summary |
|---|---|
| pack-priv final ProducerArbiter s | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends V> valueSelector | |
| wip | back to summary |
|---|---|
| pack-priv final AtomicInteger wip | |
| GroupBySubscriber | back to summary |
|---|---|
| public GroupBySubscriber(Subscriber<? super GroupedObservable<K, V>> actual, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector, int bufferSize, boolean delayError, Func1<Action1<K>, Map<K, Object>> mapFactory) | |
| cancel | back to summary |
|---|---|
| public void cancel() | |
| cancel | back to summary |
|---|---|
| public void cancel(K key) | |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, Subscriber<? super GroupedObservable<K, V>> a, Queue<?> q) | |
| createMap | back to summary |
|---|---|
private Map
| |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| errorAll | back to summary |
|---|---|
| pack-priv void errorAll(Subscriber<? super GroupedObservable<K, V>> a, Queue<?> q, Throwable ex) | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| requestMore | back to summary |
|---|---|
| public void requestMore(long n) | |
| setProducer | back to summary |
|---|---|
| public void setProducer(Producer s) Overrides rx. Doc from rx. If other subscriber is set (by calling constructor
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Queue |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| evictedKeys | back to summary |
|---|---|
| pack-priv final Queue<K> evictedKeys | |
| EvictionAction | back to summary |
|---|---|
| pack-priv EvictionAction(Queue<K> evictedKeys) | |
| call | back to summary |
|---|---|
| public void call(K key) Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final OperatorGroupBy. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static <T, K> OperatorGroupBy. | createWith(K key, int bufferSize, OperatorGroupBy.
|
| public void | |
| public void | |
| public void |
| state | back to summary |
|---|---|
| pack-priv final OperatorGroupBy. | |
| GroupedUnicast | back to summary |
|---|---|
| protected GroupedUnicast(K key, OperatorGroupBy. | |
| createWith | back to summary |
|---|---|
| public static <T, K> OperatorGroupBy. | |
| 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) | |
| 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 OperatorGroupBy. | |
| pack-priv final Queue | |
| pack-priv final AtomicLong | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv boolean | |
| pack-priv void | |
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public void | |
| public void | |
| public void | |
| public void | request(long
the maximum number of items you want this Producer to produce, or n)Long.MAX_VALUE if you
want the Producer to produce items at its own paceImplements rx. |
| public void | unsubscribe()
Implements rx. Subscriber that was registered when this Subscription
was received.
|
| actual | back to summary |
|---|---|
| pack-priv final AtomicReference<Subscriber<? 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 OperatorGroupBy. | |
| queue | back to summary |
|---|---|
| pack-priv final Queue<Object> queue | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| State | back to summary |
|---|---|
| public State(int bufferSize, OperatorGroupBy. | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super T> s) Implements rx.
| |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, Subscriber<? super T> a, boolean delayError) | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| 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) | |
| request | back to summary |
|---|---|
| public void request(long n) Implements rx. Doc from rx. Request a certain maximum number of items from this Producer. This is a way of requesting backpressure.
To disable backpressure, pass
Requests are additive but if a sequence of requests totals more than request(100); request(Long.MAX_VALUE-1);
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Doc from rx. Stops the receipt of notifications on the
This allows deregistering an
| |