public class MongoSubscriberSync<T> extends Object implements SubscriberSync<T>
| Constructor and Description |
|---|
MongoSubscriberSync() |
| Modifier and Type | Method and Description |
|---|---|
MongoSubscriberSync<T> |
await(long timeout) |
protected MongoSubscriberSync<T> |
await(long timeout,
boolean request) |
MongoIterable<T> |
get(long timeoutMS) |
Optional<Throwable> |
getError() |
org.reactivestreams.Subscription |
getSubscription() |
boolean |
isCompleted() |
void |
onComplete() |
void |
onError(Throwable error) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawait, get, getFirst, isFailedpublic void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void onError(Throwable error)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>public Optional<Throwable> getError()
getError in interface SubscriberSync<T>public org.reactivestreams.Subscription getSubscription()
getSubscription in interface SubscriberSync<T>public boolean isCompleted()
isCompleted in interface SubscriberSync<T>public MongoIterable<T> get(long timeoutMS)
get in interface SubscriberSync<T>public MongoSubscriberSync<T> await(long timeout)
await in interface SubscriberSync<T>protected MongoSubscriberSync<T> await(long timeout, boolean request)
Copyright © 2023. All rights reserved.