implicit class BoxedSubscriber[T] extends Observer[T]
- Alphabetic
- By Inheritance
- BoxedSubscriber
- Observer
- Subscriber
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BoxedSubscriber(sub: => Subscriber[_ >: T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onComplete(): Unit
Notifies the Subscriber that the Observable has finished sending push-based notifications.
Notifies the Subscriber that the Observable has finished sending push-based notifications.
The Observable will not call this method if it calls onError.
- Definition Classes
- BoxedSubscriber → Observer → Subscriber
- def onError(e: Throwable): Unit
Notifies the Observer that the Observable has experienced an error condition.
Notifies the Observer that the Observable has experienced an error condition.
If the Observable calls this method, it will not thereafter call onNext or onComplete.
- e
the exception encountered by the Observable
- Definition Classes
- BoxedSubscriber → Observer → Subscriber
- def onNext(result: T): Unit
Provides the Observer with a new item to observe.
Provides the Observer with a new item to observe.
The Observer may call this method 0 or more times.
The Observable will not call this method again after it calls either onComplete or onError.
- result
the item emitted by the Observable
- Definition Classes
- BoxedSubscriber → Observer → Subscriber
- def onSubscribe(subscription: Subscription): Unit
Invoked on subscription to an Observable.
Invoked on subscription to an Observable.
No operation will happen until Subscription.request is invoked.
It is the responsibility of this Subscriber instance to call Subscription.request whenever more data is wanted.
- subscription
Subscription that allows requesting data via Subscription.request
- Definition Classes
- BoxedSubscriber → Observer
- def onSubscribe(subscription: reactivestreams.Subscription): Unit
Handles the automatic boxing of a Java subscription so it conforms to the interface.
Handles the automatic boxing of a Java subscription so it conforms to the interface.
- subscription
the Java subscription
- Definition Classes
- Observer → Subscriber
- Note
Users should not have to implement this method but rather use the Scala
Subscription
.
- val subscriber: Subscriber[_ >: T]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: