| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | onComplete(Subscriber<?>
the target Subscriber to emit to subscriber, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits an onComplete signal or an onError signal with the given error or indicates the concurrently running onNext should do that. |
| public static void | onComplete(Observer<?>
the target Subscriber to emit to observer, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits an onComplete signal or an onError signal with the given error or indicates the concurrently running onNext should do that. |
| public static void | onError(Subscriber<?>
the target Subscriber to emit to subscriber, Throwable the Throwable to emit ex, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits the given exception if possible or adds it to the given error container to be emitted by a concurrent onNext if one is running. |
| public static void | onError(Observer<?>
the target Subscriber to emit to observer, Throwable the Throwable to emit ex, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits the given exception if possible or adds it to the given error container to be emitted by a concurrent onNext if one is running. |
| public static < the value type T> boolean | Returns: true if the operation succeeded, false if there sequence completedthe target Subscriber to emit to subscriber, T the value to emit value, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits the given value if possible and terminates if there was an onComplete or onError while emitting, drops the value otherwise. |
| public static < the value type T> void | onNext(Observer<? super T>
the target Observer to emit to observer, T the value to emit value, AtomicInteger the serialization work-in-progress counter/indicator wip, AtomicThrowable the holder of Throwables errors)Emits the given value if possible and terminates if there was an onComplete or onError while emitting, drops the value otherwise. |
| HalfSerializer | back to summary |
|---|---|
| private HalfSerializer() Utility class. | |
| onComplete | back to summary |
|---|---|
| public static void onComplete(Subscriber<?> subscriber, AtomicInteger wip, AtomicThrowable errors) Emits an onComplete signal or an onError signal with the given error or indicates the concurrently running onNext should do that.
| |
| onComplete | back to summary |
|---|---|
| public static void onComplete(Observer<?> observer, AtomicInteger wip, AtomicThrowable errors) Emits an onComplete signal or an onError signal with the given error or indicates the concurrently running onNext should do that.
| |
| onError | back to summary |
|---|---|
| public static void onError(Subscriber<?> subscriber, Throwable ex, AtomicInteger wip, AtomicThrowable errors) Emits the given exception if possible or adds it to the given error container to be emitted by a concurrent onNext if one is running. Undeliverable exceptions are sent to the RxJavaPlugins.onError.
| |
| onError | back to summary |
|---|---|
| public static void onError(Observer<?> observer, Throwable ex, AtomicInteger wip, AtomicThrowable errors) Emits the given exception if possible or adds it to the given error container to be emitted by a concurrent onNext if one is running. Undeliverable exceptions are sent to the RxJavaPlugins.onError.
| |
| onNext | back to summary |
|---|---|
| public static <T> boolean onNext(Subscriber<? super T> subscriber, T value, AtomicInteger wip, AtomicThrowable errors) Emits the given value if possible and terminates if there was an onComplete or onError while emitting, drops the value otherwise.
| |
| onNext | back to summary |
|---|---|
| public static <T> void onNext(Observer<? super T> observer, T value, AtomicInteger wip, AtomicThrowable errors) Emits the given value if possible and terminates if there was an onComplete or onError while emitting, drops the value otherwise.
| |