| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Observer<? super Integer>
the incoming Observer, never null o)Implements abstract io. Observers.
|
| ObservableRange | back to summary |
|---|---|
| public ObservableRange(int start, int count) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Observer<? super Integer> o) 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 Observer | |
| pack-priv final long | |
| pack-priv boolean | |
| pack-priv long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements io. |
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public boolean | isEmpty()
Implements io. |
| public Integer | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| pack-priv void |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super Integer> downstream | |
| end | back to summary |
|---|---|
| pack-priv final long end | |
| fused | back to summary |
|---|---|
| pack-priv boolean fused | |
| index | back to summary |
|---|---|
| pack-priv long index | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| RangeDisposable | back to summary |
|---|---|
| pack-priv RangeDisposable(Observer<? super Integer> actual, long start, long end) | |
| clear | back to summary |
|---|---|
| public void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| 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.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements io. Doc from io. Returns true if the queue is empty.
Note however that due to potential fused functions in
| |
| poll | back to summary |
|---|---|
| public Integer poll() throws Exception Implements io. Doc from io. Tries to dequeue a value (non-null) or returns null if the queue is empty.
If the producer uses | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Implements io. Doc from io. Request a fusion mode from the upstream.
This should be called before
Calling this method multiple times or after
| |
| run | back to summary |
|---|---|
| pack-priv void run() | |