class
TransactionConfig
extends AnyRef
Instance Constructors
-
new
TransactionConfig
(familyName: String, readonly: Boolean, maxRetries: Int, timeout: Duration, trackReads: Boolean, writeSkew: Boolean, blockingAllowed: Boolean, interruptible: Boolean, speculative: Boolean, quickRelease: Boolean, propagation: PropagationLevel, traceLevel: TraceLevel)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
val
blockingAllowed
: Boolean
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
val
familyName
: String
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
val
interruptible
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
val
maxRetries
: Int
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
propagation
: PropagationLevel
-
val
quickRelease
: Boolean
-
val
readonly
: Boolean
-
val
speculative
: Boolean
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
-
def
toString
(): String
-
val
traceLevel
: TraceLevel
-
val
trackReads
: Boolean
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
val
writeSkew
: Boolean
Inherited from AnyRef
Inherited from Any
For configuring multiverse transactions.
familyName - Family name for transactions. Useful for debugging.
readonly - Sets transaction as readonly. Readonly transactions are cheaper.
maxRetries - The maximum number of times a transaction will retry.
timeout - The maximum time a transaction will block for.
trackReads - Whether all reads should be tracked. Needed for blocking operations.
writeSkew - Whether writeskew is allowed. Disable with care.
blockingAllowed - Whether explicit retries are allowed.
interruptible - Whether a blocking transaction can be interrupted.
speculative - Whether speculative configuration should be enabled.
quickRelease - Whether locks should be released as quickly as possible (before whole commit).
propagation - For controlling how nested transactions behave.
traceLevel - Transaction trace level.