Packages

package queue

Type Members

  1. case class CollectionQueue[D <: Document[D], M <: DocumentModel[D]](batchSize: Int, collection: DocumentCollection[D, M], insert: Vector[D] = Vector.empty[D], upsert: Vector[D] = Vector.empty[D], delete: Vector[D] = Vector.empty[D], inserted: Int = 0, upserted: Int = 0, deleted: Int = 0) extends Product with Serializable
  2. case class DBQueue(batchSize: Int = 1000, map: Map[DocumentCollection[_, _], CollectionQueue[_, _]] = Map.empty) extends Product with Serializable

    Useful for batch operations where the batch may overflow.

    Useful for batch operations where the batch may overflow. This will create multiple batches and flush as they fill up. Call finish() at the end to make sure all unflushed batches get processed.

    batchSize

    the maximum number of records per batch (defaults to 1000)

Ungrouped