T - public class JDKReactiveStreamsSubscriber<T>
extends java.lang.Object
implements org.reactivestreams.Subscriber<T>
| Modifier and Type | Field and Description |
|---|---|
protected Queue<T> |
queue |
protected java.util.stream.Stream<T> |
stream |
| Constructor and Description |
|---|
JDKReactiveStreamsSubscriber() |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
protected java.util.stream.Stream<T> |
stream() |
protected volatile java.util.stream.Stream<T> stream
protected java.util.stream.Stream<T> stream()
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void onError(java.lang.Throwable t)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>