All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Class Description AbortOnlyException AnIllegalTxnStateException
thrown when aTxn
is configured as abort only and a prepare/commit is executed.AbstractGammaObject AbstractGammaTxnExecutor An abstractGammaTxnExecutor
implementation.AbstractTxnCollection<E> AbstractTxnIterator<E> AbstractTxnMap<K,V> AtomicOperationException ATxnExecutionException
thrown when an atomic operation has failed (e.g.BackoffPolicy A policy to be used whenTxn
or an atomic operation can't make any progress, e.g.BaseGammaTxnRef BinaryFunction<E> BooleanFunction AFunction
for primitives that accepts an argument of type boolean and returns a new value of the same type.BooleanPredicate A predicate that checks if some value leads to true or false.Bugshaker Contains some utility functions for shaking out bugs.CallableNode CommitBarrier A CommitBarrier is a blocking structure like theCyclicBarrier
but tailored to work with transactions.CommitBarrierOpenException An IllegalStateException that indicates that an operation was executed on the CommitBarrier while it already is opened.ControlFlowError AnError
thrown to regulate control flow inside multiverseTxnExecutor
.CountDownCommitBarrier A synchronization aid that allows a set of threads and transaction to all wait for each other to reach a common barrier point; once this barrier is opened, all transaction atomically commit.DeadTxnException AnIllegalTxnStateException
thrown when an action is executed on aTxn
that is either committed or aborted.DefaultBackoffPolicy ABackoffPolicy
that does an 'exponential' backoff.DefaultRetryLatch A CheapRetryLatch
implementation based on the intrinsic lock.DoubleFunction AFunction
for primitives that accepts an argument of type double and returns a new value of the same type.DoublePredicate A predicate that checks if some value leads to true or false.FatFixedLengthGammaTxn A FatGammaTxn
(supporting all features) but has a fixed capacity.FatGammaTxnExecutor TheTxnExecutor
made for the GammaStm.FatMonoGammaTxn FatVariableLengthGammaTxn Function<E> A Function that accepts an argument of a certain type and returns a new value of the same type.Functions A utility class forFunction
functionality.GammaConstants Contains the constants for theGammaStm
.GammaObject GammaObjectPool A pool for tranlocals.GammaOrElseBlock GammaStm GammaStmConfig Contains the default configuration for all transactions created by the GammaStm.GammaStmUtils GammaTxn Abstract GammaTxn to be used by all the concrete GammaTxn implementations.GammaTxnBoolean ATxnBoolean
for theGammaStm
.GammaTxnConfig A configuration object that contains the configuration for a GammaTxn.GammaTxnDouble GammaTxnExecutor AnTxnExecutor
tailored for the GammaStm.GammaTxnFactory ATxnFactory
tailored for theGammaStm
.GammaTxnFactoryBuilder ATxnFactoryBuilder
tailored for theGammaStm
.GammaTxnInteger GammaTxnLong GammaTxnPool A pool for pooling GammaTxns.GammaTxnRef<E> GammaTxnRefFactory ATxnRefFactory
tailored for the GammaStm.GammaTxnRefFactoryBuilder ATxnRefFactoryBuilder
tailored for the GammaStm.GlobalConflictCounter The GlobalConflictCounter is used as a mechanism for guaranteeing read consistency.GlobalStmInstance A singleton that can be used for easy access to theStm
that is used globally.IllegalCommuteException ATxnExecutionException
thrown whenTxn
access is done while a commuting function is being evaluated.IllegalTxnFactoryException AnIllegalStateException
thrown when aTxnFactory
can't be created because theTxnConfig
is not correct.IllegalTxnStateException ATxnExecutionException
thrown when an operation is executed on aTxn
when it is not in a valid state for that operation.IncIntFunction AIntFunction
that increased the value with the supplied amount.IntFunction AFunction
for primitives that accepts an argument of type int and returns a new value of the same type.IntPredicate A predicate that checks if some value leads to true or false.InvisibleCheckedException ARuntimeException
thrown when a checked exception is thrown but can't be rethrown.IsolationLevel With the IsolationLevel you have a way to provide declarative control to guarantee isolation between transactions.LeanFixedLengthGammaTxn A Lean GammaTxn that is optimized for a fixed number of GammaTxnRefs.LeanGammaTxnExecutor TheTxnExecutor
made for the GammaStm.LeanMonoGammaTxn A Lean GammaTxn implementation that is optimized for dealing with only a single transactional reference.Listeners A Listeners object contains all the Latches of blockingAllowed transactions that listen to a write on a transactional object.Lock The Lock provides access to pessimistic behavior of aTxnObject
.LockedException AnAtomicOperationException
thrown when an atomic operation was executed on aTxnObject
while it was locked.LockMode Using the LockMode one can control the pessimistic nature of aTxn
.LongFunction AFunction
for primitives that accepts an argument of type long and returns a new value of the same type.LongPredicate A predicate that checks if some value leads to true or false.MultiverseConstants An interface containing global constants.NaiveTxnCollectionFactory NaiveTxnHashMap<K,V> NaiveTxnHashSet<E> NaiveTxnLinkedList<E> A LinkedList implementation that also acts as a TxnQueue, TxnDeque.NaiveTxnStack<E> OrElseBlock The OrElse is responsible for executing the either block, or in case of a retry, the orelse block is executed.PanicError Predicate<E> A predicate that checks if some value leads to true or false.Predicates Predicate utility class.PreparedTxnException AnIllegalTxnStateException
thrown when an operation is executed on aTxn
while the transaction is prepared.PropagationException AnIllegalStateException
throw when there is a conflict with theTxn
propagation.PropagationLevel With the PropagationLevel you have control on how theTxnExecutor
reacts on the existence or the non existence of aTxn
.ReadonlyException AnIllegalTxnStateException
thrown when a write action is executed using a readonlyTxn
.ReadWriteConflict AControlFlowError
thrown when a reading or writing aTxnObject
failed, e.g.RetryError AControlFlowError
thrown when an explicit retry is done on aTxn
.RetryException ATxnExecutionException
thrown when retrying a transaction for another attempt fails.RetryInterruptedException ARetryException
thrown when the blocking operation on aTxn
using the retry has been interrupted.RetryLatch A blockingAllowed structure that can be used to create blocking transactions.RetryNotAllowedException ARetryException
thrown when aStmUtils.retry()
orTxn.retry()
is done while theTxn
doesn't allow blocking transactions.RetryNotPossibleException ARetryException
throw when aStmUtils.retry()
orTxn.retry()
done on aTxn
without the possibility of progress, for example when the readset of a transaction is empty.RetryTimeoutException ARetryException
thrown when a transaction times out while it blocks on a retry (so waits for an update).SpeculativeConfigurationError AControlFlowError
thrown for dealing with the speculative configuration mechanism.SpeculativeGammaConfiguration The GammaStm uses a speculative mechanism (if enabled) to learn from executing transactions.StandardThreadFactory A customizable implementation of theThreadFactory
.Stm The main interface for software transactional memory.StmMismatchException ATxnExecutionException
thrown when a transaction encounters encounters a transactional object that belongs to a different Stm instance.StmUtils ThreadLocalGammaObjectPool A ThreadLocal that contains theGammaObjectPool
.ThreadLocalGammaTxnPool A ThreadLocal that stores theGammaTxnPool
.ThreadLocalRandom TodoException ARuntimeException
thrown when some part of the implementation is missing.ToolUnsafe A Utility class for accessing theUnsafe
.TooManyRetriesException ARetryException
thrown when aTxn
is retried too many times.TraceLevel Using the TraceLevel you get some feedback on what is happening inside a transaction.Tranlocal<E> Txn The unit of work forStm
.TxnBoolean A Transactional Reference comparable to the Clojure Ref.TxnBooleanCallable A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.TxnCallable<E> A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.TxnCollection<E> TxnCollectionsFactory A factory responsible for creating Transactional collections.TxnConfig Contains the transaction configuration used by aTxn
.TxnDeque<E> TxnDouble A Transactional Reference comparable to the Clojure Ref.TxnDoubleCallable A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.TxnEvent An enumeration for all possible events for theTxn
life-cycle.TxnExecutionException ARuntimeException
thrown when something fails while executing aTxn
.TxnExecutor An TxnExecutor is responsible for executing an atomic callable.TxnFactory A Factory responsible for creating aTxn
.TxnFactoryBuilder A Builder for creating aTxnFactory
andTxnExecutor
.TxnIntCallable A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.TxnInteger A Transactional Reference comparable to the Clojure Ref.TxnIterable<E> TxnIterator<E> TxnList<E> TxnListener A listener tailored for listening to events in theTxn
life-cycle.TxnLong A Transactional Reference comparable to the Clojure Ref.TxnLongCallable A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.TxnMandatoryException APropagationException
thrown when noTxn
is available while it is mandatory.TxnMap<K,V> TxnNotAllowedException APropagationException
thrown when aTxn
is found, but is not allowed.TxnObject The interface each transactional object needs to implement.TxnQueue<E> TxnRef<E> A Transactional Reference comparable to the Clojure Ref.TxnRefFactory A Factory for creating references.TxnRefFactoryBuilder A Builder for creating aTxnRefFactory
.TxnSet<E> TxnStack<E> TxnStatus An enumeration of all possible states aTxn
can have.TxnThreadLocal AThreadLocal
that contains the currentTxn
.TxnThreadLocal.Container TxnVoidCallable A transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor
.VetoCommitBarrier The VetoCommitBarrier is a synchronization primitive that makes it possible to execute a 2 phase commit; so all transaction within a VetoCommitBarrier commit, or they all abort.