Package | Description |
---|---|
org.multiverse.api | |
org.multiverse.stms.gamma.transactions |
Modifier and Type | Method and Description |
---|---|
TxnFactoryBuilder |
TxnFactoryBuilder.addPermanentListener(TxnListener listener)
Adds a permanent
Txn TxnListener . |
TxnFactoryBuilder |
TxnFactory.getTxnFactoryBuilder() |
TxnFactoryBuilder |
Stm.newTxnFactoryBuilder()
Gets the
TxnFactoryBuilder that needs to be used to execute a Txn created by this Stm. |
TxnFactoryBuilder |
TxnFactoryBuilder.setBackoffPolicy(BackoffPolicy backoffPolicy)
Sets the
Txn BackoffPolicy . |
TxnFactoryBuilder |
TxnFactoryBuilder.setBlockingAllowed(boolean blockingAllowed)
Sets if the
Txn is allowed to do an explicit retry (needed for a blocking operation). |
TxnFactoryBuilder |
TxnFactoryBuilder.setControlFlowErrorsReused(boolean reused)
Sets if the
ControlFlowError is reused. |
TxnFactoryBuilder |
TxnFactoryBuilder.setDirtyCheckEnabled(boolean dirtyCheckEnabled)
Sets if the
Txn dirty check is enabled. |
TxnFactoryBuilder |
TxnFactoryBuilder.setFamilyName(String familyName)
Sets the
Txn familyname. |
TxnFactoryBuilder |
TxnFactoryBuilder.setInterruptible(boolean interruptible)
Sets if the
Txn can be interrupted while doing blocking operations. |
TxnFactoryBuilder |
TxnFactoryBuilder.setIsolationLevel(IsolationLevel isolationLevel)
Sets the
IsolationLevel on the Txn . |
TxnFactoryBuilder |
TxnFactoryBuilder.setMaxRetries(int maxRetries)
Sets the the maximum count a
Txn can be retried. |
TxnFactoryBuilder |
TxnFactoryBuilder.setPropagationLevel(PropagationLevel propagationLevel)
Sets the
PropagationLevel used. |
TxnFactoryBuilder |
TxnFactoryBuilder.setReadLockMode(LockMode lockMode)
|
TxnFactoryBuilder |
TxnFactoryBuilder.setReadonly(boolean readonly)
Sets the readonly property on a
Txn . |
TxnFactoryBuilder |
TxnFactoryBuilder.setReadTrackingEnabled(boolean enabled)
Sets if the
Txn should automatically track all reads that have been done. |
TxnFactoryBuilder |
TxnFactoryBuilder.setSpeculative(boolean speculative)
|
TxnFactoryBuilder |
TxnFactoryBuilder.setSpinCount(int spinCount)
Sets the maximum number of spins that are allowed when a
Txn can't be read/written/locked
because it is locked by another transaction. |
TxnFactoryBuilder |
TxnFactoryBuilder.setTimeoutNs(long timeoutNs)
Sets the timeout (the maximum time a
Txn is allowed to block. |
TxnFactoryBuilder |
TxnFactoryBuilder.setTraceLevel(TraceLevel traceLevel)
Sets the
Txn TraceLevel . |
TxnFactoryBuilder |
TxnFactoryBuilder.setWriteLockMode(LockMode lockMode)
|
Modifier and Type | Interface and Description |
---|---|
interface |
GammaTxnFactoryBuilder
A
TxnFactoryBuilder tailored for the GammaStm . |
Copyright © 2020. All rights reserved.