case class TransactionsCleanupConfig extends Product with Serializable
Provides all configurable parameters for Couchbase transactions cleanup.
- Alphabetic
- By Inheritance
- TransactionsCleanupConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 cleanupClientAttempts(cleanupClientAttempts: Boolean): TransactionsCleanupConfig
Controls where a background thread is created to cleanup any transaction attempts made by this client.
Controls where a background thread is created to cleanup any transaction attempts made by this client.
The default is true and users should generally not change this: cleanup is an essential part of Couchbase transactions.
- def cleanupLostAttempts(cleanupLostAttempts: Boolean): TransactionsCleanupConfig
Controls where a background process is created to cleanup any 'lost' transaction attempts.
Controls where a background process is created to cleanup any 'lost' transaction attempts.
The default is true and users should generally not change this: cleanup is an essential part of Couchbase transactions.
- def cleanupWindow(cleanupWindow: Duration): TransactionsCleanupConfig
Part of the lost attempts background cleanup process.
Part of the lost attempts background cleanup process. Specifies the window during which the cleanup process is sure to discover all lost transactions.
The default setting of 60 seconds is tuned to balance how quickly such transactions are discovered, while minimising impact on the cluster. If the application would prefer to discover lost transactions more swiftly, but at the cost of increased impact, it can feel free to reduce this parameter.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def collections(collections: Set[TransactionKeyspace]): TransactionsCleanupConfig
Adds collections to the set of metadata collections that will be cleaned up automatically.
Adds collections to the set of metadata collections that will be cleaned up automatically.
Collections will be added automatically to this 'cleanup set' as transactions are performed, so generally an application will not need to change this.
Setting this parameter will also start cleanup immediately rather than on the first transaction.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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)