All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Class Description AbortOnlyException AnIllegalTxnStateExceptionthrown when aTxnis configured as abort only and a prepare/commit is executed.AbstractGammaObject AbstractGammaTxnExecutor An abstractGammaTxnExecutorimplementation.AbstractTxnCollection<E> AbstractTxnIterator<E> AbstractTxnMap<K,V> AtomicOperationException ATxnExecutionExceptionthrown when an atomic operation has failed (e.g.BackoffPolicy A policy to be used whenTxnor an atomic operation can't make any progress, e.g.BaseGammaTxnRef BinaryFunction<E> BooleanFunction AFunctionfor 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 theCyclicBarrierbut tailored to work with transactions.CommitBarrierOpenException An IllegalStateException that indicates that an operation was executed on the CommitBarrier while it already is opened.ControlFlowError AnErrorthrown 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 AnIllegalTxnStateExceptionthrown when an action is executed on aTxnthat is either committed or aborted.DefaultBackoffPolicy ABackoffPolicythat does an 'exponential' backoff.DefaultRetryLatch A CheapRetryLatchimplementation based on the intrinsic lock.DoubleFunction AFunctionfor 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 TheTxnExecutormade 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 forFunctionfunctionality.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 ATxnBooleanfor theGammaStm.GammaTxnConfig A configuration object that contains the configuration for a GammaTxn.GammaTxnDouble GammaTxnExecutor AnTxnExecutortailored for the GammaStm.GammaTxnFactory ATxnFactorytailored for theGammaStm.GammaTxnFactoryBuilder ATxnFactoryBuildertailored for theGammaStm.GammaTxnInteger GammaTxnLong GammaTxnPool A pool for pooling GammaTxns.GammaTxnRef<E> GammaTxnRefFactory ATxnRefFactorytailored for the GammaStm.GammaTxnRefFactoryBuilder ATxnRefFactoryBuildertailored 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 theStmthat is used globally.IllegalCommuteException ATxnExecutionExceptionthrown whenTxnaccess is done while a commuting function is being evaluated.IllegalTxnFactoryException AnIllegalStateExceptionthrown when aTxnFactorycan't be created because theTxnConfigis not correct.IllegalTxnStateException ATxnExecutionExceptionthrown when an operation is executed on aTxnwhen it is not in a valid state for that operation.IncIntFunction AIntFunctionthat increased the value with the supplied amount.IntFunction AFunctionfor 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 ARuntimeExceptionthrown 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 TheTxnExecutormade 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 AnAtomicOperationExceptionthrown when an atomic operation was executed on aTxnObjectwhile it was locked.LockMode Using the LockMode one can control the pessimistic nature of aTxn.LongFunction AFunctionfor 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 AnIllegalTxnStateExceptionthrown when an operation is executed on aTxnwhile the transaction is prepared.PropagationException AnIllegalStateExceptionthrow when there is a conflict with theTxnpropagation.PropagationLevel With the PropagationLevel you have control on how theTxnExecutorreacts on the existence or the non existence of aTxn.ReadonlyException AnIllegalTxnStateExceptionthrown when a write action is executed using a readonlyTxn.ReadWriteConflict AControlFlowErrorthrown when a reading or writing aTxnObjectfailed, e.g.RetryError AControlFlowErrorthrown when an explicit retry is done on aTxn.RetryException ATxnExecutionExceptionthrown when retrying a transaction for another attempt fails.RetryInterruptedException ARetryExceptionthrown when the blocking operation on aTxnusing the retry has been interrupted.RetryLatch A blockingAllowed structure that can be used to create blocking transactions.RetryNotAllowedException ARetryExceptionthrown when aStmUtils.retry()orTxn.retry()is done while theTxndoesn't allow blocking transactions.RetryNotPossibleException ARetryExceptionthrow when aStmUtils.retry()orTxn.retry()done on aTxnwithout the possibility of progress, for example when the readset of a transaction is empty.RetryTimeoutException ARetryExceptionthrown when a transaction times out while it blocks on a retry (so waits for an update).SpeculativeConfigurationError AControlFlowErrorthrown 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 ATxnExecutionExceptionthrown 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 ARuntimeExceptionthrown when some part of the implementation is missing.ToolUnsafe A Utility class for accessing theUnsafe.TooManyRetriesException ARetryExceptionthrown when aTxnis 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 theTxnlife-cycle.TxnExecutionException ARuntimeExceptionthrown 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 aTxnFactoryandTxnExecutor.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 theTxnlife-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 APropagationExceptionthrown when noTxnis available while it is mandatory.TxnMap<K,V> TxnNotAllowedException APropagationExceptionthrown when aTxnis 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 aTxncan have.TxnThreadLocal AThreadLocalthat 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.