Uses of Class
org.multiverse.stms.gamma.transactions.GammaTxn
Packages that use GammaTxn
Package
Description
-
Uses of GammaTxn in org.multiverse.stms.gamma
Methods in org.multiverse.stms.gamma that return GammaTxnModifier and TypeMethodDescriptionstatic GammaTxnGammaStmUtils.asGammaTxn(Txn tx) static GammaTxnGammaStmUtils.getRequiredThreadLocalGammaTxn()final GammaTxnGammaStm.newDefaultTxn()final GammaTxnGammaStm.NonSpeculativeGammaTxnFactory.newTransaction(GammaTxnPool pool) final GammaTxnGammaStm.SpeculativeGammaTxnFactory.newTransaction(GammaTxnPool pool) final GammaTxnGammaStm.NonSpeculativeGammaTxnFactory.newTxn()final GammaTxnGammaStm.SpeculativeGammaTxnFactory.newTxn()final GammaTxnGammaStm.NonSpeculativeGammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn tailingTx, GammaTxnPool pool) final GammaTxnGammaStm.SpeculativeGammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn failingTx, GammaTxnPool pool) Methods in org.multiverse.stms.gamma with parameters of type GammaTxnModifier and TypeMethodDescriptionprivate booleanFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnBooleanCallable callable) private <E> EFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnCallable<E> callable) private doubleFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnDoubleCallable callable) private intFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnIntCallable callable) private longFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnLongCallable callable) private voidFatGammaTxnExecutor.execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnVoidCallable callable) final GammaTxnGammaStm.NonSpeculativeGammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn tailingTx, GammaTxnPool pool) final GammaTxnGammaStm.SpeculativeGammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn failingTx, GammaTxnPool pool) -
Uses of GammaTxn in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type GammaTxnModifier and TypeMethodDescriptionfinal voidfinal booleanGammaTxnBoolean.alter(GammaTxn tx, BooleanFunction function, boolean returnOld) final doubleGammaTxnDouble.alter(GammaTxn tx, DoubleFunction function, boolean returnOld) private intGammaTxnInteger.alter(GammaTxn tx, IntFunction function, boolean returnOld) private longGammaTxnLong.alter(GammaTxn tx, LongFunction function, boolean returnOld) private Efinal booleanGammaTxnBoolean.alterAndGet(GammaTxn tx, BooleanFunction function) final doubleGammaTxnDouble.alterAndGet(GammaTxn tx, DoubleFunction function) final intGammaTxnInteger.alterAndGet(GammaTxn tx, IntFunction function) final longGammaTxnLong.alterAndGet(GammaTxn tx, LongFunction function) final EGammaTxnRef.alterAndGet(GammaTxn tx, Function<E> function) final voidfinal voidGammaTxnBoolean.await(GammaTxn tx, BooleanPredicate predicate) final voidfinal voidGammaTxnDouble.await(GammaTxn tx, DoublePredicate predicate) final voidfinal voidGammaTxnInteger.await(GammaTxn tx, IntPredicate predicate) final voidfinal voidGammaTxnLong.await(GammaTxn tx, LongPredicate predicate) final voidfinal voidfinal EGammaTxnRef.awaitNotNullAndGet(GammaTxn tx) final voidfinal voidGammaTxnBoolean.commute(GammaTxn tx, BooleanFunction function) final voidGammaTxnDouble.commute(GammaTxn tx, DoubleFunction function) final voidGammaTxnInteger.commute(GammaTxn tx, IntFunction function) final voidGammaTxnLong.commute(GammaTxn tx, LongFunction function) final voidfinal voidprivate voidfinal booleanBaseGammaTxnRef.flattenCommute(GammaTxn tx, Tranlocal tranlocal, int lockMode) final booleanfinal doublefinal intfinal longfinal Efinal booleanGammaTxnBoolean.getAndAlter(GammaTxn tx, BooleanFunction function) final doubleGammaTxnDouble.getAndAlter(GammaTxn tx, DoubleFunction function) final intGammaTxnInteger.getAndAlter(GammaTxn tx, IntFunction function) final longGammaTxnLong.getAndAlter(GammaTxn tx, LongFunction function) final EGammaTxnRef.getAndAlter(GammaTxn tx, Function<E> function) final doubleGammaTxnDouble.getAndIncrement(GammaTxn tx, double amount) final intGammaTxnInteger.getAndIncrement(GammaTxn tx, int amount) final longGammaTxnLong.getAndIncrement(GammaTxn tx, long amount) final booleanGammaTxnBoolean.getAndLock(GammaTxn tx, LockMode lockMode) final doubleGammaTxnDouble.getAndLock(GammaTxn tx, LockMode lockMode) final intGammaTxnInteger.getAndLock(GammaTxn tx, LockMode lockMode) final longGammaTxnLong.getAndLock(GammaTxn tx, LockMode lockMode) final EGammaTxnRef.getAndLock(GammaTxn tx, LockMode lockMode) final booleanfinal doublefinal intfinal longfinal Efinal booleanGammaTxnBoolean.getAndSetAndLock(GammaTxn tx, boolean value, LockMode lockMode) final doubleGammaTxnDouble.getAndSetAndLock(GammaTxn tx, double value, LockMode lockMode) final EGammaTxnRef.getAndSetAndLock(GammaTxn tx, E value, LockMode lockMode) final intGammaTxnInteger.getAndSetLock(GammaTxn tx, int value, LockMode lockMode) final longGammaTxnLong.getAndSetLock(GammaTxn tx, long value, LockMode lockMode) final LockModeAbstractGammaObject.getLockMode(GammaTxn tx) protected final longprotected final Objectfinal voidprivate intfinal voidfinal doubleGammaTxnDouble.incrementAndGet(GammaTxn tx, double amount) final intGammaTxnInteger.incrementAndGet(GammaTxn tx, int amount) final longGammaTxnLong.incrementAndGet(GammaTxn tx, long amount) final booleanfinal booleanBaseGammaTxnRef.load(GammaTxn tx, Tranlocal tranlocal, int lockMode, int spinCount, boolean arriveNeeded) final voidBaseGammaTxnRef.openForCommute(GammaTxn tx, Function function) final TranlocalBaseGammaTxnRef.openForConstruction(GammaTxn tx) final TranlocalBaseGammaTxnRef.openForRead(GammaTxn tx, int lockMode) final TranlocalBaseGammaTxnRef.openForWrite(GammaTxn tx, int lockMode) final booleanfinal booleanfinal doublefinal intfinal longfinal Efinal booleanGammaTxnBoolean.setAndLock(GammaTxn tx, boolean value, LockMode lockMode) final doubleGammaTxnDouble.setAndLock(GammaTxn tx, double value, LockMode lockMode) final intGammaTxnInteger.setAndLock(GammaTxn tx, int value, LockMode lockMode) final longGammaTxnLong.setAndLock(GammaTxn tx, long value, LockMode lockMode) final EGammaTxnRef.setAndLock(GammaTxn tx, E value, LockMode lockMode) protected final longprotected final Objectfinal Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal booleanBaseGammaTxnRef.tryLockAndCheckConflict(GammaTxn tx, Tranlocal tranlocal, int spinCount, int desiredLockMode) Tries to acquire a lock on a previous read/written tranlocal and checks for conflict.Constructors in org.multiverse.stms.gamma.transactionalobjects with parameters of type GammaTxnModifierConstructorDescriptionGammaTxnBoolean(GammaTxn tx, boolean value) GammaTxnDouble(GammaTxn tx, double value) GammaTxnInteger(GammaTxn tx, int value) GammaTxnLong(GammaTxn tx) GammaTxnLong(GammaTxn tx, long value) GammaTxnRef(GammaTxn tx) GammaTxnRef(GammaTxn tx, E value) -
Uses of GammaTxn in org.multiverse.stms.gamma.transactions
Methods in org.multiverse.stms.gamma.transactions that return GammaTxnModifier and TypeMethodDescriptionGammaTxnFactory.newTransaction(GammaTxnPool pool) GammaTxnFactory.newTxn()GammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool) Methods in org.multiverse.stms.gamma.transactions with parameters of type GammaTxnModifier and TypeMethodDescriptionfinal voidGammaTxn.copyForSpeculativeFailure(GammaTxn failingTx) voidPuts a GammaTxn in the pool.GammaTxnFactory.upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool) -
Uses of GammaTxn in org.multiverse.stms.gamma.transactions.fat
Subclasses of GammaTxn in org.multiverse.stms.gamma.transactions.fatModifier and TypeClassDescriptionfinal classA FatGammaTxn(supporting all features) but has a fixed capacity.final classfinal class -
Uses of GammaTxn in org.multiverse.stms.gamma.transactions.lean
Subclasses of GammaTxn in org.multiverse.stms.gamma.transactions.leanModifier and TypeClassDescriptionfinal classA Lean GammaTxn that is optimized for a fixed number of GammaTxnRefs.final classA Lean GammaTxn implementation that is optimized for dealing with only a single transactional reference.