T - Tpublic abstract class AbstractServerStreamObserverAndPublisher<T> extends AbstractStreamObserverAndPublisher<T>
AbstractStreamObserverAndPublisher.DEFAULT_CHUNK_SIZE, outputFused, subscription, TWO_THIRDS_OF_DEFAULT_CHUNK_SIZE| Constructor and Description |
|---|
AbstractServerStreamObserverAndPublisher(io.grpc.stub.ServerCallStreamObserver<?> serverCallStreamObserver,
Queue<T> queue,
Consumer<io.grpc.stub.CallStreamObserver<?>> onSubscribe) |
AbstractServerStreamObserverAndPublisher(io.grpc.stub.ServerCallStreamObserver<?> serverCallStreamObserver,
Queue<T> queue,
Consumer<io.grpc.stub.CallStreamObserver<?>> onSubscribe,
int prefetch,
int lowTide) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortPendingCancel() |
void |
cancel() |
void |
onError(Throwable throwable) |
clear, doOnCancel, isCancelled, isEmpty, onCompleted, onNext, onSubscribe, poll, request, size, subscribeadd, addAll, contains, containsAll, element, iterator, offer, offer, peek, remove, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, contains, containsAll, equals, hashCode, iterator, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic AbstractServerStreamObserverAndPublisher(io.grpc.stub.ServerCallStreamObserver<?> serverCallStreamObserver,
Queue<T> queue,
Consumer<io.grpc.stub.CallStreamObserver<?>> onSubscribe)
public void onError(Throwable throwable)
onError in interface io.grpc.stub.StreamObserver<T>onError in class AbstractStreamObserverAndPublisher<T>public void cancel()
cancel in interface org.reactivestreams.Subscriptioncancel in class AbstractStreamObserverAndPublisher<T>public void abortPendingCancel()
Copyright © 2021. All rights reserved.