case class AsynchronousCachedUpdateHandler[Doc <: Document[Doc], Model <: DocumentModel[Doc], Storage <: Store[Doc, Model], Searching <: Collection[Doc, Model]](txn: SplitCollectionTransaction[Doc, Model, Storage, Searching], maxCache: Int = 5_000, monitorDelay: FiniteDuration = 250.millis) extends SearchUpdateHandler[Doc, Model, Storage, Searching] with Product with Serializable
Concurrently applies updates in the transaction. Will block until complete during transaction commit.
Note: This will keep all objects in memory while they are being processed. This can lead to out-of-memory errors if updates are going significantly faster than they can be applied.
This can lead to great performance improvements, but unexpectedly long commit delays.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsynchronousCachedUpdateHandler
- Serializable
- Product
- Equals
- SearchUpdateHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AsynchronousCachedUpdateHandler(txn: SplitCollectionTransaction[Doc, Model, Storage, Searching], maxCache: Int = 5_000, monitorDelay: FiniteDuration = 250.millis)
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]) @IntrinsicCandidate() @native()
- def close: Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- def commit: Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- def delete[V](index: UniqueIndex[Doc, V], value: V): Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def insert(doc: Doc): Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxCache: Int
- val monitorDelay: FiniteDuration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rollback: Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def truncate: Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- val txn: SplitCollectionTransaction[Doc, Model, Storage, Searching]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- def upsert(doc: Doc): Task[Unit]
- Definition Classes
- AsynchronousCachedUpdateHandler → SearchUpdateHandler
- 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])
- 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
(Since version 9)