- abort() - Static method in class org.multiverse.api.StmUtils
-
Aborts the Transaction in the TxnThreadLocal transaction.
- abort() - Method in interface org.multiverse.api.Txn
-
Aborts this Txn.
- acquire(LockMode) - Method in interface org.multiverse.api.TxnLock
-
Acquires a TxnLock with the provided LockMode.
- acquire(Txn, LockMode) - Method in interface org.multiverse.api.TxnLock
-
Acquires a TxnLock with the provided LockMode using the provided transaction.
- addPermanentListener(TxnListener) - Method in interface org.multiverse.api.TxnFactoryBuilder
-
Adds a permanent
Txn TxnListener.
- asInt() - Method in enum org.multiverse.api.LockMode
-
- atomic(Runnable) - Static method in class org.multiverse.api.StmUtils
-
- atomic(Callable<E>) - Static method in class org.multiverse.api.StmUtils
-
- atomic(TxnCallable<E>) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnCallable<E>, TxnCallable<E>) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomic(TxnIntCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnIntCallable, TxnIntCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomic(TxnLongCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnLongCallable, TxnLongCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomic(TxnDoubleCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnDoubleCallable, TxnDoubleCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomic(TxnBooleanCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnBooleanCallable, TxnBooleanCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomic(TxnVoidCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomic(TxnVoidCallable, TxnVoidCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnCallable<E>) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnCallable<E>, TxnCallable<E>) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnIntCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnIntCallable, TxnIntCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnLongCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnLongCallable, TxnLongCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnDoubleCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnDoubleCallable, TxnDoubleCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnBooleanCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnBooleanCallable, TxnBooleanCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicChecked(TxnVoidCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
- atomicChecked(TxnVoidCallable, TxnVoidCallable) - Static method in class org.multiverse.api.StmUtils
-
Executes the either block, or in case of a retry, the orelse block is executed.
- atomicGetLockMode() - Method in interface org.multiverse.api.TxnLock
-
Returns the current LockMode.
- atomicToString() - Method in interface org.multiverse.api.TxnObject
-
Returns a String representation of the object using the provided transaction without looking
at a
TxnThreadLocal.
- ensure() - Method in interface org.multiverse.api.TxnObject
-
Does an ensure.
- ensure(Txn) - Method in interface org.multiverse.api.TxnObject
-
Does an ensure.
- execute(TxnCallable<E>, TxnCallable<E>) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnIntCallable, TxnIntCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnLongCallable, TxnLongCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnDoubleCallable, TxnDoubleCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnBooleanCallable, TxnBooleanCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnVoidCallable, TxnVoidCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- execute(TxnCallable<E>) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- execute(TxnIntCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- execute(TxnLongCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- execute(TxnDoubleCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- execute(TxnBooleanCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- execute(TxnVoidCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the transactional callable.
- executeChecked(TxnCallable<E>, TxnCallable<E>) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnIntCallable, TxnIntCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnLongCallable, TxnLongCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnDoubleCallable, TxnDoubleCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnBooleanCallable, TxnBooleanCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnVoidCallable, TxnVoidCallable) - Method in interface org.multiverse.api.OrElseBlock
-
Executes the either, or when it is retried, the orelse block.
- executeChecked(TxnCallable<E>) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- executeChecked(TxnIntCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- executeChecked(TxnLongCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- executeChecked(TxnDoubleCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- executeChecked(TxnBooleanCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- executeChecked(TxnVoidCallable) - Method in interface org.multiverse.api.TxnExecutor
-
Executes the callable.
- getAttempt() - Method in interface org.multiverse.api.Txn
-
Gets the current attempt (so the number of tries this transaction already had).
- getBackoffPolicy() - Method in interface org.multiverse.api.TxnConfig
-
Returns the BackoffPolicy used by the Stm when a transaction conflicts with another transaction.
- getConfig() - Method in interface org.multiverse.api.Txn
-
Returns the TxnConfig used by this Txn.
- getConfig() - Method in interface org.multiverse.api.TxnFactory
-
- getConfig() - Method in interface org.multiverse.api.TxnFactoryBuilder
-
Returns the
TxnConfig used by this TxnFactoryBuilder.
- getDefaultRefFactory() - Method in interface org.multiverse.api.Stm
-
Returns the default TxnRefFactory that can be used for easy and cheap access to a reference factory
instead of setting one up through the TxnRefFactoryBuilder.
- getDefaultTxnCollectionFactory() - Method in interface org.multiverse.api.Stm
-
Gets the default TxnCollectionsFactory.
- getDefaultTxnExecutor() - Method in interface org.multiverse.api.Stm
-
Returns the default
TxnExecutor that is useful for testing/experimentation purposes.
- getFamilyName() - Method in interface org.multiverse.api.TxnConfig
-
Returns the family name of this Txn.
- getGlobalStmInstance() - Static method in class org.multiverse.api.GlobalStmInstance
-
Gets the global
Stm instance.
- getIsolationLevel() - Method in interface org.multiverse.api.TxnConfig
-
Gets the IsolationLevel used.
- getLock() - Method in interface org.multiverse.api.TxnObject
-
Gets the
TxnLock that belongs to this TxnObject.
- getLockMode() - Method in interface org.multiverse.api.TxnLock
-
Gets the LockMode the transaction stored in the the
TxnThreadLocal has on this TxnLock.
- getLockMode(Txn) - Method in interface org.multiverse.api.TxnLock
-
Gets the LockMode the transaction has on the TxnLock.
- getMaxRetries() - Method in interface org.multiverse.api.TxnConfig
-
Returns the maximum number of times this Txn be retried before failing.
- getPermanentListeners() - Method in interface org.multiverse.api.TxnConfig
-
Returns an unmodifiable list containing all permanent TxnListener.
- getPropagationLevel() - Method in interface org.multiverse.api.TxnConfig
-
Returns the PropagationLevel used.
- getReadLockMode() - Method in interface org.multiverse.api.TxnConfig
-
Gets the current LockMode for all reads.
- getRemainingTimeoutNs() - Method in interface org.multiverse.api.Txn
-
Gets the remaining timeout in nanoseconds.
- getRequiredThreadLocalTxn() - Static method in class org.multiverse.api.TxnThreadLocal
-
Gets the threadlocal
Txn or throws a
TxnMandatoryException if no transaction is found.
- getSpinCount() - Method in interface org.multiverse.api.TxnConfig
-
Returns the maximum number of times the transaction is allowed to spin on a read to become
readable (perhaps it is locked).
- getStatus() - Method in interface org.multiverse.api.Txn
-
Returns the status of this Txn.
- getStm() - Method in interface org.multiverse.api.TxnConfig
-
Returns the Stm that creates transactions based on this configuration.
- getStm() - Method in interface org.multiverse.api.TxnObject
-
Returns the
Stm this TxnObject is part of.
- getThreadLocalTxn() - Static method in class org.multiverse.api.TxnThreadLocal
-
Gets the threadlocal
Txn.
- getThreadLocalTxnContainer() - Static method in class org.multiverse.api.TxnThreadLocal
-
ThreadLocalTransaction
Gets the ThreadLocal container that stores the Txn.
- getTimeoutNs() - Method in interface org.multiverse.api.TxnConfig
-
Returns the total timeout in nanoseconds.
- getTraceLevel() - Method in interface org.multiverse.api.TxnConfig
-
Returns the TraceLevel.
- getTxnFactory() - Method in interface org.multiverse.api.TxnExecutor
-
Returns the
TxnFactory that is used by this TxnExecutor to create transactions used to execute
transactional closures.
- getTxnFactoryBuilder() - Method in interface org.multiverse.api.TxnFactory
-
- getTxRefFactoryBuilder() - Method in interface org.multiverse.api.Stm
-
Gets the TxnRefFactoryBuilder.
- getVersion() - Method in interface org.multiverse.api.TxnObject
-
Returns the current version of the transactional object.
- getWriteLockMode() - Method in interface org.multiverse.api.TxnConfig
-
Gets the current LockMode for all writes.
- GlobalStmInstance - Class in org.multiverse.api
-
A singleton that can be used for easy access to the
Stm that is used globally.
- valueOf(String) - Static method in enum org.multiverse.api.IsolationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.multiverse.api.LockMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.multiverse.api.PropagationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.multiverse.api.TraceLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.multiverse.api.TxnStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.multiverse.api.IsolationLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.multiverse.api.LockMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.multiverse.api.PropagationLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.multiverse.api.TraceLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.multiverse.api.TxnStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.