All methods except the onSubscribe, onNext, onError and onComplete are thread-safe.
Use toSerialized() to make these methods thread-safe as well.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Throwable | Returns: the error that caused the FlowableProcessor to terminate or null if the FlowableProcessor hasn't terminated yetReturns the error that caused the FlowableProcessor to terminate or null if the FlowableProcessor hasn't terminated yet. |
| public abstract boolean | Returns: true if the FlowableProcessor has reached a terminal state through a complete eventReturns true if the FlowableProcessor has reached a terminal state through a complete event. |
| public abstract boolean | Returns: true if the FlowableProcessor has subscribersReturns true if the FlowableProcessor has subscribers. |
| public abstract boolean | Returns: true if the FlowableProcessor has reached a terminal state through an error eventReturns true if the FlowableProcessor has reached a terminal state through an error event. |
| public final FlowableProcessor | Returns: the wrapped and serialized FlowableProcessorWraps this FlowableProcessor and serializes the calls to the onSubscribe, onNext, onError and onComplete methods, making them thread-safe. |
| FlowableProcessor | back to summary |
|---|---|
| public FlowableProcessor() | |
| getThrowable | back to summary |
|---|---|
| public abstract Throwable getThrowable() Returns the error that caused the FlowableProcessor to terminate or null if the FlowableProcessor hasn't terminated yet. The method is thread-safe. | |
| hasComplete | back to summary |
|---|---|
| public abstract boolean hasComplete() Returns true if the FlowableProcessor has reached a terminal state through a complete event. The method is thread-safe.
| |
| hasSubscribers | back to summary |
|---|---|
| public abstract boolean hasSubscribers() Returns true if the FlowableProcessor has subscribers. The method is thread-safe.
| |
| hasThrowable | back to summary |
|---|---|
| public abstract boolean hasThrowable() Returns true if the FlowableProcessor has reached a terminal state through an error event. The method is thread-safe.
| |
| toSerialized | back to summary |
|---|---|
| public final FlowableProcessor Wraps this FlowableProcessor and serializes the calls to the onSubscribe, onNext, onError and onComplete methods, making them thread-safe. The method is thread-safe.
| |