| Modifier and Type | Field and Description |
|---|---|
| pack-priv Producer | |
| pack-priv boolean | |
| pack-priv long | |
| pack-priv Producer | |
| pack-priv long | |
| pack-priv static final Producer | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| currentProducer | back to summary |
|---|---|
| pack-priv Producer currentProducer | |
| emitting | back to summary |
|---|---|
| pack-priv boolean emitting | |
| missedProduced | back to summary |
|---|---|
| pack-priv long missedProduced | |
| missedProducer | back to summary |
|---|---|
| pack-priv Producer missedProducer | |
| missedRequested | back to summary |
|---|---|
| pack-priv long missedRequested | |
| NULL_PRODUCER | back to summary |
|---|---|
| pack-priv static final Producer NULL_PRODUCER | |
| requested | back to summary |
|---|---|
| pack-priv long requested | |
| ProducerArbiter | back to summary |
|---|---|
| public ProducerArbiter() | |
| emitLoop | back to summary |
|---|---|
| public void emitLoop() | |
| produced | back to summary |
|---|---|
| public void produced(long n) | |
| 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);
| |
| setProducer | back to summary |
|---|---|
| public void setProducer(Producer newProducer) | |