GridFSStreamObservable

dev.mongocamp.driver.mongodb.gridfs.GridFSStreamObservable
case class GridFSStreamObservable(inputStream: InputStream, bufferSize: Int) extends Observable[ByteBuffer], LazyLogging

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LazyLogging
trait Observable[ByteBuffer]
trait Publisher[ByteBuffer]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Classlikes

case class GridFSSubscription(subscriber: Observer[_ >: ByteBuffer]) extends Subscription

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Subscription
trait Subscription
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

override def subscribe(subscriber: Observer[_ >: ByteBuffer]): Unit

Attributes

Definition Classes
Observable

Inherited methods

def andThen[U](pf: PartialFunction[Try[ByteBuffer], U]): Observable[ByteBuffer]

Attributes

Inherited from:
Observable
def collect[S](pf: PartialFunction[ByteBuffer, S]): Observable[S]

Attributes

Inherited from:
Observable
def collect[S](): SingleObservable[Seq[ByteBuffer]]

Attributes

Inherited from:
Observable
def fallbackTo[U >: ByteBuffer](that: Observable[U]): Observable[U]

Attributes

Inherited from:
Observable
def filter(predicate: ByteBuffer => Boolean): Observable[ByteBuffer]

Attributes

Inherited from:
Observable
def flatMap[S](mapFunction: ByteBuffer => Observable[S]): Observable[S]

Attributes

Inherited from:
Observable
def foldLeft[S](initialValue: S)(accumulator: (S, ByteBuffer) => S): SingleObservable[S]

Attributes

Inherited from:
Observable
def foreach[U](doOnEach: ByteBuffer => U): Unit

Attributes

Inherited from:
Observable
def head(): Future[ByteBuffer]

Attributes

Inherited from:
Observable
def headOption(): Future[Option[ByteBuffer]]

Attributes

Inherited from:
Observable
def map[S](mapFunction: ByteBuffer => S): Observable[S]

Attributes

Inherited from:
Observable
def observeOn(context: ExecutionContext): Observable[ByteBuffer]

Attributes

Inherited from:
Observable
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def recover[U >: ByteBuffer](pf: PartialFunction[Throwable, U]): Observable[U]

Attributes

Inherited from:
Observable
def recoverWith[U >: ByteBuffer](pf: PartialFunction[Throwable, Observable[U]]): Observable[U]

Attributes

Inherited from:
Observable
def subscribe(doOnNext: ByteBuffer => Any, doOnError: Throwable => Any, doOnComplete: () => Any): Unit

Attributes

Inherited from:
Observable
def subscribe(doOnError: Throwable => Any, doOnComplete: () => Any): Unit

Attributes

Inherited from:
Observable
def subscribe(doOnNext: ByteBuffer => Any, doOnError: Throwable => Any): Unit

Attributes

Inherited from:
Observable
def subscribe(doOnNext: ByteBuffer => Any): Unit

Attributes

Inherited from:
Observable
override def subscribe(observer: Subscriber[_ >: ByteBuffer]): Unit

Attributes

Definition Classes
Observable -> Publisher
Inherited from:
Observable
def transform[S](mapFunction: ByteBuffer => S, errorMapFunction: Throwable => Throwable): Observable[S]

Attributes

Inherited from:
Observable
final def withFilter(p: ByteBuffer => Boolean): Observable[ByteBuffer]

Attributes

Inherited from:
Observable
def zip[U](that: Observable[U]): Observable[(ByteBuffer, U)]

Attributes

Inherited from:
Observable

Deprecated and Inherited methods

def completeWithUnit(): SingleObservable[Unit]

Attributes

Deprecated
[Since version 5.0] Is no longer needed because of the `ToSingleObservableUnit` implicit class. Scheduled for removal in a major release
Inherited from:
Observable

Concrete fields

val buffer: Array[Byte]
val isPublishing: AtomicBoolean

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging